pquery($sql, array()); $temprow = $adb->fetch_array($result); $subject_html_id = $_REQUEST['subject_id'].''; $body_html_id = $_REQUEST['body_id'].''; $cnt=1; require_once('include/utils/UserInfoUtil.php'); require('user_privileges/user_privileges_'.$current_user->id.'.php'); do { $templatename = $temprow["templatename"]; if($is_admin == false) { $folderName = $temprow['foldername']; if($folderName != 'Personal') { printf(""; printf("",$temprow["description"]); } } else { printf(""; //echo "'.$temprow["templatename"].""; echo "".$temprow["templatename"].""; printf("",$temprow["description"]); } $cnt++; }while($temprow = $adb->fetch_array($result)); ?>
"); echo "".$temprow["templatename"]."%s
"); // echo "'".$temprow["templatename"]."%s