| Server IP : 192.169.170.185 / Your IP : 216.73.216.97 Web Server : Apache System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64 User : akhilnew ( 1712764) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/akhilnew/public_html/patholjournal.com/admin/ |
Upload File : |
<?php
session_start();
if(file_exists('../inc/config.php')) : require_once('../inc/config.php'); else : die('Database configuration file doesn\'t exist.'); endif;
if(file_exists(INC . 'functions.php')) : require_once(INC . 'functions.php'); else : die('Functions file doesn\'t exist.'); endif;
if(file_exists(INC . 'MPDF53/mpdf.php')) : require_once(INC . 'MPDF53/mpdf.php'); else : die(output(false, 'PDF maker file not found.')); endif;
if(file_exists(INC . 'SendMail.php')) : require_once(INC . 'SendMail.php'); else : die(output(false, 'Mail function file not found.')); endif;
require_once('../../../twm/TwilioWhatsApp.php');
require_once('../../../temp/Login.php');
if (! Login::check()) { header("Location:{$adminurl}login"); exit(); }
function dateformat($date, $day = false){
if($day == true):
$date = ($date !== '0000-00-00 00:00:00') ? date('d/m/Y h:i A (D)', strtotime($date)) : 'N/A';
else:
$date = ($date !== '0000-00-00 00:00:00') ? date('d/m/Y h:i A', strtotime($date)) : 'N/A';
endif;
return $date;
}
function ismscURL($link){
$http = curl_init($link);
curl_setopt($http, CURLOPT_RETURNTRANSFER, true);
$http_result = curl_exec($http);
$http_status = curl_getinfo($http, CURLINFO_HTTP_CODE);
curl_close($http);
return $http_result;
}
function delete($id){
return '<input type="button" class="action ico delete" onclick="dopost(\'delete\', \''.$id.'\', \'Do you really want to delete?\', true)" />';
}
function ordinal($n){
$str = $n . date('S', mktime(1,1,1,1,((($n>=10)+($n>=20)+($n==0))*10 + $n%10)));
return $str;
}
function output($stat, $text, $type = 'text', $boxs = ''){
return json_encode(array('stat' => $stat, $type => $text, 'boxs' => $boxs));
}
$snum = 0;
$page = isset($_GET['page']) ? str_replace('.php', '', sanitize(escape($_GET['page']))) : NULL;
$opt1 = isset($_GET['opt1']) ? str_replace('.php', '', sanitize(escape($_GET['opt1']))) : NULL;
$opt2 = isset($_GET['opt2']) ? str_replace('.php', '', sanitize(escape($_GET['opt2']))) : NULL;
$opt3 = isset($_GET['opt3']) ? str_replace('.php', '', sanitize(escape($_GET['opt3']))) : NULL;
$opt4 = isset($_GET['opt4']) ? str_replace('.php', '', sanitize(escape($_GET['opt4']))) : NULL;
$table = $page;
$pagetitle = ucfirst($page) . ' ~ cPanel';
$pageurl = $adminurl . 'u/' . $page;
if($page !== 'dashboard'):
$stmt = $mysqli->prepare("SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE (TABLE_SCHEMA = ? AND TABLE_NAME = ?) ORDER BY ORDINAL_POSITION ASC LIMIT 1") or die($mysqli->error);
$stmt->bind_param('ss', $dbname, $table);
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($firstcol);
$stmt->fetch();
$stmt->close();
$padding = 103;
else:
$firstcol = '';
$padding = 55;
endif;
$stmt = $mysqli->prepare("SELECT websitename, websiteemail, fromname, fromemail, impactfactor, issn, certificateemail, version, mailer, signaturestatus, signature FROM settings ORDER BY settingsid DESC LIMIT 1") or die($mysqli->error);
$stmt->execute();
$stmt->bind_result($websitename, $websiteemail, $fromname, $fromemail, $impactfactor, $issn, $certificateemail, $version, $mailer, $signaturestatus, $signature);
$stmt->fetch();
$stmt->close();
$mail_signature = (($signaturestatus == 'enabled' && $signature)) ? PHP_EOL . PHP_EOL . PHP_EOL . 'Regards' . PHP_EOL . $signature : '';
$optfld = '<span class="fr">*</span>';
$emptyrows = 'MySQL returned an empty result set (i.e. zero rows).';
$option = isset($_POST['option']) ? sanitize(escape($_POST['option'])) : NULL;
$dataid = isset($_POST['dataid']) ? $_POST['dataid'] : NULL;
$null = '';
if(($_SERVER['REQUEST_METHOD'] === 'POST' && $option)):
foreach(glob('*.pdf') as $pdf) : @unlink($pdf); endforeach;
foreach(glob('*.doc') as $doc) : @unlink($doc); endforeach;
foreach(glob('*.docx') as $docx) : @unlink($docx); endforeach;
$idcount = count($dataid);
if(file_exists('inc/' . $page . '.php')):
require_once('inc/' . $page . '.php');
else:
die(output(false, 'Processing file not found.'));
endif;
endif;
echo <<<EOJ
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{$pagetitle}</title>
<link rel="shortcut icon" href="{$adminimageurl}favicon.ico" />
EOJ;
?>
<link type="text/css" rel="stylesheet" href="https://www.akinik.com/elrte/css/smoothness/jquery-ui-1.8.13.custom.css" />
<link type="text/css" rel="stylesheet" href="https://www.akinik.com/elrte/css/elrte.min.css" />
<style type="text/css">
*{margin:0px;padding:0px;outline:none;box-sizing:border-box}
body{width:100%;height:100%;background-color:#fff;color:#333;font-size:13px;font-family:'Roboto-Regular';overflow-y:scroll}
@font-face{font-family:'Roboto-Regular';src:url('<?php echo $fontsdir;?>Roboto-Regular.ttf')}
@font-face{font-family:'Roboto-Medium';src:url('<?php echo $fontsdir;?>Roboto-Medium.ttf')}
ul,ol{list-style:none}a,a:hover{text-decoration:none}img,a img{border:none;overflow:hidden}
h1,h2,h3,h4,h5,h6,th,b,strong,label{font-family:'Roboto-Medium';font-weight:normal}
.holder,.header,.fluid,.row,.head,.body,.foot,form,.flbl,.field,.bw,table,.flex{float:left;width:100%;height:auto}
select{height:27px !important;padding:0px !important}textarea{resize:none}
.field{padding:5px;background:#fff;border:1px solid #d9d9d9;border-top-color:#c0c0c0;color:#333;font-size:13px;font-family:'Roboto-Regular';clear:both;outline:none}
.field:hover:not([disabled]):not([readonly]){border-color:#b9b9b9;border-top-color:#b9b9b9}
.field:focus:not([disabled]):not([readonly]){border-color:#4e90fe}
.field:disabled,.field[readonly]{background-color:#ebebe4;border-color:#d9d9d9}
.action{float:left;width:64px;height:27px;line-height:27px;background:linear-gradient(#f5f5f5, #f1f1f1);border:1px solid #d9d9d9;border-radius:2px;color:#000;font-size:11px;font-family:'Roboto-Regular';text-align:center;text-transform:uppercase;cursor:default}
.action:hover{border-color:#c5c5c5}
.action:active{border-color:#427fed;box-shadow:0px 1px 1px #ddd inset}
.action.r{background:#ea4335;border-color:#d43528;color:#fff}
.action.g{background:#1b901b;border-color:#127b12;color:#fff}
.action.b{background:#4e90fe;border-color:#3677e2;color:#fff}
.action.r:active{background:#d43528;box-shadow:none}
.action.g:active{background:#127b12;box-shadow:none}
.action.b:active{background:#3677e2;box-shadow:none}
.action:disabled{opacity:0.5 !important;cursor:default}
.ico{background:#fff url(<?php echo $adminimageurl;?>sprites.png) center top no-repeat;cursor:default}
.back{background-position:22px 7px}
.back:hover{background-position:22px -11px}
.delete{background-position:center -34px}
.delete:hover{background-position:center -60px}
.download{background-position:center -85px}
.download:hover{background-position:center -107px}
.settings{background-position:center -133px}
.settings:hover{background-position:center -162px}
.loader,.output{height:29px;line-height:27px;background-color:#f9edbe;border:1px solid #f0c36d;color:#000;font-family:'Roboto-Medium';text-align:center;position:fixed;padding:0px 10px;z-index:9999;box-shadow:0px 1px 2px rgba(0,0,0,0.2);display:none}
.loader{width:100px;border-radius:0px 0px 2px 2px;top:0px;left:0px;right:0px;margin:0px auto}
.output{width:auto;min-width:300px;border-radius:2px;top:45px;left:50%;transform:translate(-50%, -50%)}
.fl,.fr{width:auto;height:auto}.fl{float:left}.fr{float:right}
.header{background-color:#00897b;padding:8px 20px;position:fixed;top:0px;left:0px;right:0px;z-index:999}
.header .fl img{float:left;height:29px}
.header .fr{position:relative}
.header .fr span.fl{float:left;height:27px;line-height:28px;padding:0px 9px;color:#b1dfda;font-size:12px;text-transform:uppercase}
.header .fr form{width:372px;margin:auto;border-radius:2px;overflow:hidden;position:fixed;top:8px;left:0px;right:0px;display:flex}
.header .fr form .field{height:29px;border:none; flex:1}
.header .fr form .btn{width:28px;height:29px;background-color:#fff;fill:#999;border:none;cursor:pointer}
.header .fr a,.header .fr span{float:left;height:27px;line-height:28px;padding:0px 9px;text-transform:uppercase;color:#b1dfda;font-size:12px;transition-duration:0.4s}
.header .fr a:hover{color:#fff;border-radius:2px}
.header .fr a:active{background-color:#1ca597;transition-duration:0s}
.header .fr span{padding-right:0px}
.holder{padding:103px 20px 20px}
.db{display:flex;flex-direction:row;justify-content:space-between;flex-flow:row wrap;overflow:hidden}
.db li{float:left;width:19.2%;height:auto;margin:0px 1% 1% 0px;background-color:#88a1ad;color:#fff;text-transform:uppercase;text-shadow:0px 1px 0px #36515d;box-shadow:1px 1px 3px rgba(0,0,0,0.3)}
.db li:nth-child(5n+5),.db li:last-child{margin-right:0px}
.db li .bhead,.db li .body{border:none;text-align:center}
.db li .bhead{padding-top:15px}
.db li .body{padding:12px 0px 15px;background-color:transparent}
.db li .body h3{font-size:24px;font-family:'Roboto-Regular';font-weight:normal}
.db li .body.sqlicon{height:56px;background:url('<?php echo $adminimageurl;?>sql.png') center center no-repeat}
.db li .body.dbicon{height:56px;background:url('<?php echo $adminimageurl;?>download.png') center center no-repeat}
.db li .foot{padding:8px 10px;background-color:#5f7b88;color:#000;font-size:11px}
.db li .foot input{float:left;background:none;border:none;color:#cbd9e0;font-size:11px;font-family:'Roboto-Regular';text-transform:uppercase;text-shadow:0px 1px 0px #36515d;cursor:pointer}
.db li .foot a{float:left;color:#cbd9e0}
.db li .foot a:hover,.db li .foot input:hover{color:#fff}
.db li .foot span{float:right;color:#cbd9e0;font-size:11px;text-transform:uppercase}
.db li .foot span.fl{color:#000}
.form > .head{margin-bottom:10px;padding:10px 20px;background-color:#fff;border-bottom:1px solid #ddd;position:fixed;top:45px;left:0px;right:0px;z-index:998}
.form > .head > .action{width:auto;min-width:64px;margin-right:10px;padding:0px 10px}
.form > .head > .action.hidden{display:none}
.form > .head > .fr .field{width:64px;border-right:none;border-color:#d5d5d5;text-align:center}
.form > .head > .fr .action{width:48px;border-radius:0px 2px 2px 0px}
.form > .head > .fr b{float:left;height:27px;line-height:28px}
.form > .head > .fr .paginate{float:left;width:auto;height:auto;margin-left:10px;border:1px solid #d9d9d9;border-radius:2px;overflow:hidden}
.form > .head > .fr .paginate button{float:left;width:32px;height:25px;background-color:#fff;border:none}
.form > .head > .fr .paginate button:first-child{border-right:1px solid #d9d9d9}
.form > .head > .fr .paginate button.act:active{background-color:#eee}
.form > .head > .fr .paginate button svg{fill:#bbb}
.form > .head > .fr .paginate button.act svg{fill:#777}
.form .head .hf{margin-right:10px;border:1px solid #d9d9d9;border-radius:2px;overflow:hidden}
.form .head .hf .field{width:220px;height:25px;border:none;border-right:1px solid #d9d9d9;box-shadow:none;clear:none}
.form .head .hf .action{height:25px;border:none;border-radius:0px;margin:0px}
.form .body{padding:17px 20px 5px;background-color:#f1f1f1;border:1px solid #d9d9d9;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
.form .row{margin-bottom:15px;clear:both}
.form .row .row:last-child{margin-bottom:0px}
.form .row div.fl,.form .row div.fr{width:49%}
.form .row .fl.lg{width:33.3333%;padding:0px 10px}.form .row .fl.lg:first-child{padding-left:0px}.form .row .fl.lg:last-child{padding-right:0px}
.form .row .flbl{color:#333;font-size:11px}
.form .row .flbl small{color:#555}
.form .row .flbl span{color:#f00}
.form .field-file{height:27px;padding:2px}.form .field-file.md{height:82px}.form .field-file.lg{height:137px}.form .field-file.lg2{height:147px}
.form .field.lg{height:150px}
.form .flex{display:flex}
.form .flex .field{margin-right:10px;flex:1}
.form .flex .rw{margin:0px 0px 0px 10px}.form .flex .rw:last-child{margin-right:0px}
.rw{float:left;height:27px;margin:13px 10px 0px 0px;background:linear-gradient(#f5f5f5, #f1f1f1);border:1px solid #d9d9d9;border-radius:2px}
.rw:last-child{margin-right:0px}
.rw label{float:left;width:auto;height:25px;line-height:25px;padding:0px 10px;border-left:1px solid #d9d9d9;font-size:10px;text-transform:uppercase}
.rw label:first-child{border-left:none}
.rw label:active{background-color:#eee}
.rw input{float:left;margin:6px 5px 0px 0px}
.md .workzone,.md textarea,.md iframe{height:200px !important}
.lg .workzone,.lg textarea,.lg iframe{height:400px !important}
.table{border:1px solid #e5e5e5;border-collapse:collapse}
.table th{background-color:#eee}
.table th,.table td{border:1px solid #e5e5e5;position:relative}
.table th{font-size:11px;padding:7px 5px;text-transform:uppercase}
.table th.xs{width:50px}.table th.sm{width:90px}.table th.md{width:140px}.table th.lg{width:220px}
.table tr:hover{background-color:#ffffcc}
.table td.miss{background:url('<?php echo $adminimageurl;?>file-missing.png') left top no-repeat}
.table td{padding:5px}
.table td:first-child input{margin-top:3px}
.table td a{color:#1b7b35}
.table td a:hover{text-decoration:underline}
.table td .image-wrap,.table td .image-round{width:27px;height:27px;border-radius:25px;overflow:hidden;position:relative}
.table td .image-wrap input{float:left;width:27px;height:27px;background:rgba(0,0,0,0.5) url(<?php echo $adminimageurl;?>close-icon.png) center center no-repeat;border:none;border-radius:25px;position:absolute;top:0px;left:0px;z-index:1;display:none}
.table td .image-wrap input:active{background-color:rgba(0,0,0,0.7)}
.table td .image-wrap:hover input{display:block}
.table td button{margin:0px 3px;background-color:transparent;border:none;color:#1b7b35;font-size:11px;font-family:'Roboto-Medium';text-transform:uppercase;cursor:pointer}
.table td button:hover{text-decoration:underline}
.table td button.enabled{color:#1b901b}
.table td button.disabled{color:#ea4335}
.table td .field{margin:0px !important}
.table td .field.noborder{background-color:transparent;border:none}
.table.view th{width:170px;text-align:left;vertical-align:top;text-transform:capitalize}
.table.view td{text-align:justify;vertical-align:top}
.table.view td .image-round{float:left}
.counting{height:15px;line-height:16px;padding:0 3px;background-color:#f00;border-radius:2px;color:#fff;font-size:10px;position:absolute;top:0;right:0}
.archives{border:1px solid #ddd;border-radius:3px;padding:10px 5px 0px}
.archives > ul{float:left;width:100%;display:flex;flex-direction:row;justify-content:space-between;flex-flow:row wrap;overflow:hidde;position:relative}
.archives > ul > li{flex-grow:1;margin:0px 5px 10px;padding:8px 0px;border:1px solid #ddd;font-size:11px;font-family:'Roboto-Medium';text-transform:uppercase;text-align:center}
.archives > ul > li span{color:#f00}
.archives > ul > li > ul{float:left;width:100%;height:auto;margin-top:10px;clear:both}
.archives > ul > li > ul > li{margin-top:7px}
.archives > ul > li > ul > li a{color:#1b7b35}
.archives > ul > li > ul > li a:hover{text-decoration:underline}
.gwrap{margin-top:10px}
.graphics{float:left;width:13%;height:auto;background-color:#fff;border:1px solid #ddd;margin:0 0.75% 20px;padding:5px}
.graphics:nth-child(7n+1){margin-left:0}
.graphics:nth-child(7n+7){margin-right:0}
.graphics .gbody{overflow:hidden}
.graphics .gbody img{float:left;width:100%;max-width:100%;height:100px}
.graphics .gfoot{border-top:1px solid #ddd;margin-top:5px;padding-top:5px}
.graphics .gfoot .action:last-child{float:right}
.sql{margin-bottom:20px;padding-bottom:20px !important}
.sql legend{width:auto;height:27px;line-height:27px;padding:0 10px;background-color:#fff;border:1px solid #ccc;border-radius:2px;font-size:11px;text-transform:uppercase;font-family:'Roboto-Medium';box-shadow:0 1px 2px #ddd}
.sql legend a{color:#00887a}
.sql legend a:hover{text-decoration:underline}
.sql .fl{width:84%}
.sql .fr{width:15%}
.tbllist{height:150px;border:1px solid #ddd;clear:none;overflow-y:scroll}
.tbllist ul{float:left;width:100%;height:150px}
.tbllist ul li{float:left;width:100%;height:auto;clear:both;padding:3px 10px 0}
.sql.add .field{width:auto;border-left:none;border-color:#d5d5d5;clear:none}
.sql.add .field.f{border:1px solid #d5d5d5}
.sql.add .field:hover,.sql.add .field:focus{border-color:#d5d5d5 !important}
.sql.add .field.digit{width:64px;text-align:center}
.sql.add .rw{margin:0px;border-left:none;border-radius:0px}
.sql.add .action{width:64px;margin-left:10px}
.sql .foot{padding:10px;background-color:#f5f5f5;border:1px solid #ddd;border-top:none}
.sql .foot .action{margin-right:10px}
.fxfrm{width:570px;height:auto;position:fixed;bottom:1px;right:1px;z-index:999;display:none}
.fxfrm .head{height:37px;line-height:37px;padding:0px 10px;background-color:#404040;color:#fff}
.fxfrm .head button{float:right;width:26px;height:25px;background:none;border:none;margin:6px 0 0;cursor:pointer}
.fxfrm .head button svg{fill:#999}
.fxfrm .head button:hover{background-color:#737373}
.fxfrm .head button:hover svg{fill:#fff}
.fxfrm .body{padding:0px;background-color:#fff;border:1px solid #d9d9d9;border-top:none}
.fxfrm .body .field{height:32px;border:none;border-bottom:1px solid #d9d9d9;padding:5px 10px;clear:none}
.fxfrm .body .field:hover,.fxfrm .body .field:focus{border-color:#d9d9d9}
.fxfrm .body .field.to{border-right:1px solid #d9d9d9}
.fxfrm .body .field.to,.fxfrm .body .field.cc{width:50%}
.fxfrm .body .field-file{height:354px;border:none}
.fxfrm .body .field.field-textarea{height:258px;border-bottom:none}
.fxfrm .foot{padding:10px;background-color:#f5f5f5;border:1px solid #d9d9d9;border-top:none}
.fxfrm .foot .action{margin-right:10px}
.fxfrm .foot .rw{float:right;margin:0px}
@media (max-width:1024px){
.header .fr form{left:180px;right:100%}
}
<?php
$stmt = $mysqli->prepare("SELECT name, file FROM fonts") or die($mysqli->error);
$stmt->execute();
$stmt->store_result();
if($stmt->num_rows() > 0):
$stmt->bind_result($fontname, $fontfile);
while($stmt->fetch()):
if(($fontfile && file_exists($fontuploadpath . $fontfile))):
echo '@font-face{font-family:'.$fontname.';src:url('.$fontsdir.$fontfile.');}';
endif;
endwhile;
$stmt->close();
endif;
?>
</style>
</head>
<body>
<?php
$eMessage = '<div class="error"><h1>404</h1><h4>OOPS, SORRY WE CAN'T FIND THAT PAGE</h4><br clear="all">Either something went wrong or the page doesn't exist anymore.<br clear="all"><br clear="all"><br clear="all"><a href="' . $adminurl . 'u/dashboard">DASHBOARD</a></div>';
$item_per_page = isset($_SESSION['ROW_LIMIT']) ? trim($_SESSION['ROW_LIMIT']) : 30;
if(($opt1 === 'page' || $opt3 === 'page')):
if($opt1 === 'page') : $page_number = $opt2; endif;
if($opt3 === 'page') : $page_number = $opt4; endif;
$page_number = filter_var($page_number, FILTER_SANITIZE_NUMBER_INT, FILTER_FLAG_STRIP_HIGH);
if(!filter_var($page_number, FILTER_VALIDATE_INT)) : die("Invalid page number!"); endif;
else:
$page_number = 1;
endif;
$page_position = ($page_number - 1) * $item_per_page;
$keyword = ($opt1 === 'search') ? strip_tags($opt2) : NULL;
$back = '<input type="button" value="" class="action ico back" onclick="history.back()" />';
echo <<<EOJ
<div class="loader">Loading...</div>
<div class="output"></div>
<div class="header">
<div class="fl"><a href="{$pageurl}"><img src="{$adminimageurl}logo_cpanel.png" alt="{$websitename}" /></a></div>
<div class="fr">
<form action="{$pageurl}/search" method="get" name="searchform" class="fl" onsubmit="if (this.keyword.value) { let key = this.keyword.value; location = this.action + '/' + key.replace(/ /gi, '+'); } return false;">
<input type="hidden" name="option" value="search" readonly="readonly" />
<input type="text" name="keyword" value="{$keyword}" placeholder="Keyword" class="field lg" />
<button type="submit" class="btn"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 24 20"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg></button>
</form>
<a href="{$pageurl}">return</a>
<a href="{$adminurl}u/dashboard">dashboard</a>
<a href="{$adminurl}u/settings">settings</a>
<a href="{$baseurl}" target="_blank">view site</a>
<a href="{$adminurl}logout">logout</a>
<span>v{$version}</span>
</div>
</div>
<div class="holder" style="padding-top:{$padding}px">
<form action="{$pageurl}" method="post" name="form" id="form" class="form ajax-form" enctype="multipart/form-data">
<input type="hidden" name="option" value="{$opt1}" readonly="readonly" />
<input type="hidden" name="confrm" readonly="readonly" />
EOJ;
if(($page && file_exists($page. '.php'))):
require_once($page . '.php');
else:
echo $eMessage;
endif;
echo <<<EOJ
</form>
</div>
<form action="{$adminurl}u/sendmail" method="post" name="mailform" class="fxfrm emf ajax-form" enctype="multipart/form-data">
<input type="hidden" name="option" value="sendmail" readonly="readonly" />
<input type="hidden" name="confrm" value="" readonly="readonly" />
<div class="head">New Message<button type="reset" onclick="$('.fxfrm').hide(0);"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>
<div class="body">
<input type="text" name="to" placeholder="To" class="field to" />
<input type="text" name="cc" placeholder="Cc" class="field cc" />
<input type="text" name="bcc" placeholder="Bcc" class="field" />
<input type="text" name="subject" placeholder="Subject" class="field" />
<textarea rows="25" cols="25" name="message" placeholder="Type your message here..." class="field field-textarea">{$mail_signature}</textarea>
</div>
<div class="foot">
<input type="submit" value="send" class="action b button" onclick="setopt(this, 'sendmail')" />
<input type="reset" value="cancel" class="action" onclick="$('.fxfrm').hide(0);" />
EOJ;
if($page === 'editors'):
echo <<<EOJ
<div class="rw">
<label><input type="radio" name="type" value="photo" onchange="getMailMessage(this.form)" />Photo Request</label>
<label><input type="radio" name="type" value="profile" onchange="getMailMessage(this.form)" />Profile Update</label>
</div>
EOJ;
endif;
echo <<<EOJ
</div>
</form>
<form action="{$adminurl}u/upload" method="post" name="uploadform" class="fxfrm upf ajax-form" enctype="multipart/form-data">
<input type="hidden" name="option" value="upload" readonly="readonly" />
<input type="hidden" name="confrm" value="" readonly="readonly" />
<div class="head">Upload Picture<button type="reset" onclick="$('.fxfrm').hide(0);"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="24" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg></button></div>
<div class="body">
<input type="file" name="file" class="field field-file" />
</div>
<div class="foot">
<input type="submit" value="submit" class="action b button" />
<input type="reset" value="cancel" class="action" onclick="$('.fxfrm').hide(0);" />
</div>
</form>
EOJ;
?>
<script type="text/javascript" src="https://www.akinik.com/js/jquery.js" defer></script>
<script type="text/javascript" src="https://www.akinik.com/js/jquery.form.min.js" defer></script>
<script type="text/javascript" src="https://www.akinik.com/elrte/js/jquery-1.6.1.min.js" defer></script>
<script type="text/javascript" src="https://www.akinik.com/elrte/js/jquery-ui-1.8.13.custom.min.js" defer></script>
<script type="text/javascript" src="https://www.akinik.com/elrte/js/elrte.min.js" defer></script>
<script type="text/javascript" src="https://www.akinik.com/elrte/js/i18n/elrte.ru.js" defer></script>
<script type="text/javascript">
function downloadJSAtOnload(){
var element = document.createElement("script");
element.src = "<?php echo $adminurl;?>defer.js";
document.body.appendChild(element);
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else window.onload = downloadJSAtOnload;
</script>
</body>
</html>