Server IP : 103.119.228.120 / Your IP : 13.59.134.65 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/hendraso/public_html/Templates/Admin/ |
Upload File : |
<div class="page-content p-2"> <div id="add-loading"> <div class="loadingPage text-center"><span class="box"><img src="{$livepath}/Assets/Img/Facebook.svg"><span>Loading Page</span></span></div> </div> <div class="rows"> <nav aria-label="breadcrumb" class="float-right"> <ol class="breadcrumb mb-0"> <li class="breadcrumb-item"><a href="{$livepath}/Modules/Dashboard/show" class="clearStorage"><i class="fa fa-home mr-1"></i>Dashboard</a></li> <li class="breadcrumb-item font-weight-bold" aria-current="page"><a href="{$livepath}/Modules/Admin/Master/Formbuilder/show" class="clearStorage">Formbuilder</a></li> <li class="breadcrumb-item font-weight-bold active" aria-current="page">Generate Template</li> </ol> </nav> <h2 class="h5 font-weight-bold px-2 pt-2 pb-3">Generate Template</h2> <div class="cPanel col-md-12 Grid1 rounded"> <div class="portlet"> <div class="portlet-heading bg-darkgray font-weight-bold py-2 px-3 text-white"> <a href="{$livepath}/Modules/Admin/Master/Formbuilder/show" class="btn btn-link text-white font-weight-bold font-sm cancel mtm-1 float-right"><i class="fa fa-arrow-left mr-1"></i> Back to Form Builder</a> Choose Template</div> <div class="portlet-body pt-4 px-1"> <div class="templateList filter row"> <div class="col-lg-6 col-md-6"> <div class="card {if $sel_themes == 'template1'}active{/if}" id="template1"> <div class="imgCont"> <img src="{$livepath}/Assets/Img/template_peview_1_small.jpg" alt="Card image cap" class="card-img-top"> </div> <div class="card-body px-3 text-right"> <h5 class="card-title float-left">Template A</h5> <span class="canv_btn"> {if $sel_themes == 'template1'} <a href="{$livepath}/Modules/Admin/Master/Setlist/show/{$fid}" class="btn btn-sm btn-outline-danger font-weight-bold font-sm mr-2"><i class="fa fa-{if !empty($create_list)}code{else}edit{/if} mr-1"></i>{if !empty($create_list)}Set{else}Change{/if} List</a> <a href="{$livepath}/Modules/Admin/Master/Setdetail/show/{$fid}" class="btn btn-sm btn-outline-success font-weight-bold font-sm mr-2"><i class="fa fa-{if !empty($create_detail)}code{else}edit{/if} mr-1"></i>{if !empty($create_detail)}Set{else}Change{/if} Detail</a> {if empty($view_site)} <a href="{$livepath}/{$url_link}" target="_blank" class="btn btn-sm btn-outline-primary font-weight-bold font-sm mr-2"><i class="fa fa-globe mr-1"></i>View Site</a> {/if} {else} <a href="#" class="btn btn-sm btn-outline-primary font-weight-bold font-sm mr-2 addForm" onclick="setTemplate('template1');return false;"><i class="fa fa-paint-brush mr-1"></i>Choose a template</a> {/if} </span> </div> </div> </div> <div class="col-lg-6 col-md-6"> <div class="card {if $sel_themes == 'template2'}active{/if}" id="template2"> <div class="imgCont"> <img src="{$livepath}/Assets/Img/template_peview_1_small.jpg" alt="Card image cap" class="card-img-top"> </div> <div class="card-body px-3 text-right"> <h5 class="card-title float-left">Template B</h5> <span class="canv_btn"> {if $sel_themes == 'template2'} <a href="{$livepath}/Modules/Admin/Master/Setlist/show/{$fid}" class="btn btn-sm btn-outline-danger font-weight-bold font-sm mr-2"><i class="fa fa-paint-brush mr-1"></i>{if !empty($create_list)}Set{else}Change{/if} List</a> <a href="{$livepath}/Modules/Admin/Master/Setdetail/show/{$fid}" class="btn btn-sm btn-outline-success font-weight-bold font-sm mr-2"><i class="fa fa-paint-brush mr-1"></i>{if !empty($create_detail)}Set{else}Change{/if} Detail</a> {if empty($view_site)} <a href="{$livepath}/{$url_link}" target="_blank" class="btn btn-sm btn-outline-primary font-weight-bold font-sm mr-2"><i class="fa fa-globe mr-1"></i>View Site</a> {/if} {else} <a href="#" class="btn btn-sm btn-outline-primary font-weight-bold font-sm mr-2 addForm" onclick="setTemplate('template2');return false;"><i class="fa fa-paint-brush mr-1"></i>Choose a template</a> {/if} </span> </div> </div> </div> </div> </div> <a href="{$livepath}/Modules/Admin/Master/Formbuilder/show" class="btn btn-link font-weight-bold cancel mtm-4 float-right"><i class="fa fa-arrow-left mr-1"></i> Back to Form Builder</a> </div> </div> <script type="text/javascript">{if isset($pathcustom)} var custom_path = '{$pathcustom}';{else}var custom_path = '{$path}';{/if}var menuAccess = '{$menu}', livepath = '{$livepath}', ajaxFile = "{$path}", ajaxParam = "{$param}", device = "{$device}", pathupload = "{if isset($pathupload)}{$pathupload}{/if}", addFilterTable = '{if isset($addFilter)}{$addFilter}{/if}{$slFilter}';</script> {if isset($addJs)}<script>{$addJs}</script>{/if} <script type="text/javascript"> var fid = '{$fid}' $("document").ready(function() { removeWaiting(); }); function setTemplate(d) { $.ajax({ url:custom_path+"/generate", type:"POST", dataType:"JSON", data:{ "themes" : d + "_" + fid, "fid" : fid, }, success:function(obj) { if (obj.status != 'ok') { Lobibox.notify('error', { msg : obj.error, width : '100%', size : 'mini', delay : 3500, showClass : 'bounceIn', hideClass : 'bounceOut' }); } else { Lobibox.notify('success', { msg : 'Save Successfully', width : '100%', size : 'mini', delay : 3500, showClass : 'bounceIn', hideClass : 'bounceOut' }); var all_temp = $(".templateList div[id*='template']"); $.each(all_temp, function(k_temp, v_temp) { var temp_id = $(v_temp).attr("id"); if(temp_id != d) { $("#"+temp_id+" .canv_btn").html('<a href="#" class="btn btn-sm btn-outline-primary font-weight-bold font-sm mr-2 addForm" onclick="setTemplate(\''+temp_id+'\');return false;"><i class="fa fa-paint-brush mr-1"></i>Choose a template</a>'); } }); $("#"+d+" .canv_btn").html('<a href="{$livepath}/Modules/Admin/Master/Setlist/show/{$fid}" class="btn btn-sm btn-outline-danger font-weight-bold font-sm mr-2"><i class="fa fa-paint-brush mr-1"></i>Set List Template</a>'+ '<a href="{$livepath}/Modules/Admin/Master/Setdetail/show/{$fid}" class="btn btn-sm btn-outline-success font-weight-bold font-sm mr-2"><i class="fa fa-paint-brush mr-1"></i>Set Detail Template</a>'); //$(".canv_btn").html(""); //$("."+d+" .addForm") //$("div[class^='template'] .addForm").removeClass("btn-outline-danger").addClass("btn-outline-primary").html('<i class="fa fa-paint-brush mr-1"></i>Choose a template'); //$("."+d+" .addForm").removeClass("btn-outline-primary").addClass("btn-outline-danger").html('<i class="fa fa-paint-brush mr-1"></i> Your Template'); } } }); } function removeWaiting() { setTimeout(function() { $("#add-loading").empty(); $('.breads').show(); $('.ftr').show(); }, 1000); } </script>