Use This Template
What's Insidesdfasdasdasdsadsa?
This Template Includes adasd
Features:
Pages
Blog
Pages:
Home
About Us
Contact Us
Privacy Policy
Terms & Conditions
ADA Compliance
Blog:
Hello World
Choose a design to get started
Ready-to-use websites that you can modify
$(function(){ industries_call(); fetch_websites_templates(0); });
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
VIEW MORE
\n \n
Choose a design to get started
Ready-to-use websites that you can modify
\n
\n \n
\n
\n
\n
\n
\n
\n
\n$(function(){ industries_call(); fetch_websites_templates(0); });\n\n
\n\n
\n
\n
\n
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
\n\n
VIEW MORE
\n\n\n\n\n\n","modified_by":"1580295343903","access_level":"","excerpt":"","has_review":0,"meta_description":"","meta_title":"","locked":"0","locked_by":"j.lopatin@b-yy.org","access_level_role":"","created_at":"9/22/2021, 2:34:26 PM","feature_image":"","feature_image_alt":"","feature_image_hash":"","feature_image_thumb":"","feature_image_thumb_webp":"","feature_image_webp":"","page_referer":"","user_ip":"","modified_at":"1666175776319","account_id":"1633421630718","company_id":"1633421630746","pageCategory":"preset"}); // let prevPayload_1 = `{"_id":"5f06ec91020b61001222dbf3","app_name":"customwebsiteclub","object":"pages","token":"1594289297989","owner":"1580295343903","title":"Website Designs","slug":"website-designs","template":"1641816577778","status":"published","type":"content","contents":"
\n
\n
\n
\n
\n
\n
\n
\n
Use This Template
\n
\n \n
\n
\n
\n
What's Insidesdfasdasdasdsadsa?
\n
This Template Includes adasd
\n
Features:
\n
\n
Pages
\n
Blog
\n
\n
Pages:
\n
\n
Home
\n
About Us
\n
Contact Us
\n
Privacy Policy
\n
Terms & Conditions
\n
ADA Compliance
\n
\n
Blog:
\n
\n
Hello World
\n
\n
\n
\n
\n
\n \n
\n
\n
\n\n\n\n \n
Choose a design to get started
Ready-to-use websites that you can modify
\n
\n \n
\n
\n
\n
\n
\n
\n
\n$(function(){ industries_call(); fetch_websites_templates(0); });\n\n
\n\n
\n
\n
\n
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
\n\n
VIEW MORE
\n\n\n\n\n\n","modified_by":"1580295343903","access_level":"","excerpt":"","has_review":0,"meta_description":"","meta_title":"","locked":"0","locked_by":"j.lopatin@b-yy.org","access_level_role":"","created_at":"9/22/2021, 2:34:26 PM","feature_image":"","feature_image_alt":"","feature_image_hash":"","feature_image_thumb":"","feature_image_thumb_webp":"","feature_image_webp":"","page_referer":"","user_ip":"","modified_at":"1666175776319","account_id":"1633421630718","company_id":"1633421630746","pageCategory":"preset"}`; let template = ``; // prevPayload_1 = JSON.parse(prevPayload_1); // prevPayload = prevPayload.replace(/\\/g, ''); // prevPayload = JSON.parse(decodeEntities(prevPayload)); prevPayload = JSON.parse(prevPayload); if(template!=''){ template = JSON.parse(decodeEntities(template)); } //var itemKeysArr = prevPayload.objs; var itemKeysArr = ''; //Do We Need it? itemKeysArr = $.parseJSON('[' + itemKeysArr + ']'); if (typeof itemKeysArr !== 'undefined' && itemKeysArr.length > 0) { for (let i=0; i
0) { for (let i=0; i
`+`
Use This Template
What's Insidesdfasdasdasdsadsa?
This Template Includes adasd
Features:
Pages
Blog
Pages:
Home
About Us
Contact Us
Privacy Policy
Terms & Conditions
ADA Compliance
Blog:
Hello World
Choose a design to get started
Ready-to-use websites that you can modify
$(function(){ industries_call(); fetch_websites_templates(0); });
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
Your Title Here
VIEW MORE
`+``)($scope,function(clonedElement){ customFunctionsCall(function(result){ var allFuncsDefs = ''; result.data.forEach( function(element) { allFuncsDefs += element.html + '\n'; }); appendJsToScript(allFuncsDefs) }); var pureRawJs = ''; // Find logicJs of presets from template html $(document).find('.logic_js').each(function(){ pureRawJs += $(this).text(); }); // Find logicJs of presets from object html $(clonedElement).find('.logic_js').each(function(){ pureRawJs += $(this).text(); }); $scope.$watch(function() { return $http.pendingRequests.length > 0; }, function(hasPending) { console.log("hasPending", hasPending); // setTimeout(function(){ // hasPending = false; // var buildCustomLogic = eval($scope.item.logic_builder_js); // }, 2000); if (!hasPending) { // let jsToExecute = pureRawJs + $scope.item.logic_builder_js; let jsToExecute = pureRawJs; // var buildCustomLogicPresets = eval(pureRawJs); console.log("jsToExecute", jsToExecute); var buildCustomLogic = eval(jsToExecute); } }); }); console.log('SCOPE',$scope); //$scope.apimodules = {"_id":"5d8b54c98a9fae00140ccf77","object":"j-book","app_name":"j_book_project_3","token":"1569412275230","type":"content","template":"1569413508651","title":"NT","author":"j-author^author-name^Isaac Asimov","summary":"NAyyarTech","series-name":"nt","page-count":"1"}; }]); function decodeEntities(encodedString) { var textArea = document.createElement('textarea'); textArea.innerHTML = encodedString; return textArea.value; } ngApp.filter('safeHtml', function ($sce) { return function (val) { if(val != undefined){ if(val.length == 1){ return $sce.trustAsHtml(val[0].innerHTML); }else{ return $sce.trustAsHtml(val); } } }; }); function appendJsToScript(code){ var s = document.createElement('script'); s.type = 'text/javascript'; try { s.appendChild(document.createTextNode(code)); document.body.appendChild(s); } catch (e) { s.text = code; document.body.appendChild(s); } } function customFunctionsCall(successFn, errorFn) { $.ajax({ url: 'https://owlapplicationbuilder.com/system/designer/get_functional_logic', method: 'GET', async: false, error: function (res, st, err) { // showalert(res.responseJSON.message, 'alert-danger'); }, beforeSend: function () { // showalert('Please wait...', 'alert-info'); }, complete: function () { }, success: function (response) { if ($.isFunction(successFn)) { successFn.call(this, response); } } }); }