| 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/ |
Upload File : |
<?php
if(file_exists('inc/config.php')): require_once('inc/config.php'); else: die('Required file doesn\'t exist.'); endif;
?>
<!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">
<meta name="description" content="Engineering Journals" />
<meta name="keywords" content="engineering journals" />
<meta name="Robots" content="index, follow" />
<title>Engineering Journals List</title>
<link rel="shortcut icon" href="<?php echo $imageurl;?>favicon.ico" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:400,500|Domine:400,700|Material+Icons" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css" />
<style type="text/css">
*,*::after,*::before{margin: 0;padding: 0;}
body{font-size:13px;font-family:'Roboto', sans-serif;overflow-y:scroll}b{font-weight:500}
.card{border: 1px solid #ddd}
.card .blinker{font-size: 24px;font-weight: 500;text-transform: uppercase;}
.journalshead{margin-bottom:10px;padding:7px 10px 8px;font-size:13px;text-transform:uppercase;clear:both}
.journalsbody .col:nth-child(2n+1){clear: both;}
.journalsbody table{margin-bottom:10px}
.journalsbody table td{padding: 10px;text-align:left;vertical-align:top;}
.journalsbody table td:first-child{width:100px}
.journalsbody table td img{width:100%;max-width:100%}
.journalsbody table td h5{margin: 0;font-size: 14px;font-weight: 500;}
</style>
</head>
<body class="grey lighten-4">
<?php
function journal($category){
global $mysqli, $baseurl;$html = '';
$stmt = $mysqli->prepare("SELECT journal, issn, domain, email, coverpage FROM engineering_journals WHERE (category = ? AND paid = 'disabled' AND status = 'enabled') ORDER BY sorting ASC") or die('An error occurred. Please try after some time.');
$stmt->bind_param('s', $category);
$stmt->execute();
$stmt->store_result();
$stmt->bind_result($journal, $issn, $domain, $email, $coverpage);
while($stmt->fetch()):
$coverpage = ($coverpage && file_exists('uploads/engineering/'.$coverpage)) ? '<img src="'.$baseurl.'uploads/engineering/'.$coverpage.'" alt="'.$journal.'" class="left" />' : '';
if($coverpage):
$html .= <<<EOJ
<div class="col s12 m12 l6">
<table class="blue-grey lighten-5">
<tr>
<td>{$coverpage}</td>
<td>
<h5>{$journal}</h5>
<br>
<b>ISSN: {$issn}</b><br>
<b>Email: {$email}</b>
<p>Website: <a href="{$domain}" target="_blank" class="red-text">{$domain}</a></p>
</td>
</tr>
</table>
</div>
EOJ;
endif;
endwhile;
$stmt->close();
return $html;
}
echo <<<EOJ
<div class="container">
<div class="row">
<div class="col s12 m12 l12">
<div class="card z-depth-0">
<div class="card-content">
<div class="row">
<div class="col s12 m12 l12 center-align" style="padding:0">
<h2 class="blinker" style="margin:0">Call for Articles</h2>
<br clear="all">
<b style="font-size: 14px;">Dear Author,</b>
<br clear="all">
<br clear="all">
<p style="font-size: 14px;">Submit your latest manuscript for possible publication in one of our <b>Engineering Journals</b>.</p>
</div>
</div>
EOJ;
$stmt = $mysqli->prepare("SELECT TRIM(category) FROM engineering_journals WHERE (paid = 'disabled' AND status = 'enabled') GROUP BY TRIM(category) ORDER BY category ASC") or die('An error occurred. Please try after some time.');
$stmt->execute();
$stmt->store_result();
if($stmt->num_rows() > 0):
$stmt->bind_result($category);
while($stmt->fetch()):
$catfat = array('electric' => 'Electric Engineering Journals','mechanical'=>'Mechanical Engineering Journals','civil'=>'Civil Engineering Journals','computer'=>'Computer Science Journals');
$categoryn = array_key_exists($category, $catfat) ? $catfat[$category] : '';
if($category):
echo '<div class="journalshead indigo z-depth-1 white-text center-text">'.$categoryn.'</div><br clear="all">';
endif;
echo '<div class="row journalsbody">'.journal($category).'</div>';
endwhile;
endif;
echo <<<EOJ
</div>
</div>
</div>
</div>
</div>
EOJ;
?>
</body>
</html>