<?php include 'header.php'; $view = $db->getQuery($db->runQuery("select * from " . EMAILTEMP . " where id='{$_REQUEST['form']}' ")); $load = new loader(); $load->third_party('ckeditor', 'ckeditor.js'); ?> <script type="text/javascript" src="js/plugins/jquery.uniform.min.js"></script> <script type="text/javascript" src="js/plugins/jquery.tagsinput.min.js"></script> <script type="text/javascript" src="js/plugins/jquery.jgrowl.js"></script> <script type="text/javascript" src="js/plugins/ui.spinner.min.js"></script> <script type="text/javascript" src="js/plugins/chosen.jquery.min.js"></script> <script type="text/javascript" src="js/plugins/jquery.jgrowl.js"></script> <script type="text/javascript" src="js/plugins/jquery.alerts.js"></script> <script type="text/javascript" src="js/custom/general.js"></script> <script type="text/javascript" src="js/custom/forms.js"></script> <div class="centercontent"> <div class="pageheader notab"> <h1 class="pagetitle">Edit Mail Template</h1> <span class="pagedesc"></span> </div><!--pageheader--> <div id="contentwrapper" class="contentwrapper"> <form class="stdform" action="adm-action.php" method="post" enctype="multipart/form-data"> <div class="two_third dashboard_left"> <div class="widgetbox"> <div class="title"> <select style="width:300px;" onchange="window.location='?form='+this.value+'' ">
if ($_REQUEST['tbl']) { $qry = $db->runQuery("select * from {$_REQUEST['tbl']} where page_id={$_REQUEST['forms']}"); $d = $db->getQuery($qry); @($seo = explode("||", $d['seo'])); $option = explode(",", $d['options']); $type = $d['type']; $cnd = ''; if ($type == 'multiple page') { $cnd = "and sub_id='0'"; } if ($_REQUEST['sub_id'] != '') { $cnd = "and sub_id='{$_REQUEST['sub_id']}'"; } } if (in_array('ajax_upload', $option)) { $load->third_party('js', 'jquery.form.js'); $load->library('ajax_upload'); } $load->third_party('ckeditor', 'ckeditor.js'); ?> <script type="text/javascript" src="js/custom/forms.js"></script> <script type="text/javascript" src="js/plugins/jquery-1.7.min.js"></script> <script type="text/javascript" src="js/plugins/jquery-ui-1.8.16.custom.min.js"></script> <script> $(function(){ $( ".datepicker" ).datepicker({ dateFormat: 'dd-mm-yy' }); });</script> <script type="text/javascript" src="js/plugins/jquery.uniform.min.js"></script> <script type="text/javascript" src="js/custom/general.js"></script> <script> var http = false; if(navigator.appName == "Microsoft Internet Explorer"){ http = new ActiveXObject("Microsoft.XMLHTTP");