Server Name:Linux webbox5.ncrdns.net 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64 | |
User :conflictreader (1363) Group : conflictreader (1367) | |
Server IP :103.104.73.69 [BING] [Dossier] | Port : 443 | Your IP: 18.224.68.59 | |
Server Type : unknown | Website : ?? Domains | |
Safe Mode: OFF | |
Disable Functions:NONE | |
Server Software: LiteSpeed [Exploit DB] | |
Directory : /home2/conflictreader/public_html/ | |
Filename : index-old.php [ view ] [ edit ] [ rename ] [ download ] [ delete ]
<?php
require('includes/application_top.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pakistan Reader</title>
<meta name="description" content="Pakistan Reader">
<meta name="keywords" content="Pakistan Reader">
<meta name="robots" content="index,follow">
<base href="<?php echo SITE_CATALOG ?>">
<link href="prstyle.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript" src="rollovers.js"></script>
<script language="javascript" src="layers.js"></script>
<style type="text/css">
<!--
#tableWebcast {
background-color: #f5f8fa;
display: block;
padding: 2px;
border-top: 3px solid #6bb526;
border-right: #6bb526;
border-bottom: 3px solid #6bb526;
border-left: #6bb526;
}
-->
#marqueecontainer{
position:relative;
width: 260px; /*marquee width */
height:250px; /*marquee height */
overflow: hidden;
padding: 2px;
}
.style1 {
font-size: 16px;
font-weight: bold;
}
</style>
<body>
<? include('header.php');?>
<table width="781" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td colspan="2" valign="top"></td>
</tr>
<tr>
<td width="499" valign="top">
<table width="96%" border="0" align="center" cellpadding="2" cellspacing="0">
<?
$sql_articles="select a.*,c.categories_url from tbl_articles a, tbl_articles_to_categories ac, tbl_categories c where a.recNo=ac.recNo_id and ac.categories_id =c.categories_id group by a.`articleNo` order by a.articleNo desc , a.recNo
desc limit 0,5";
$result_articles= mysql_query($sql_articles);
$num_event =mysql_num_rows($result_articles);
$rows_articles = mysql_fetch_object($result_articles);
if($num_event>0){
$articleTitleURL =$rows_articles->articleTitle;
$imageName= $rows_articles->imageName;
?>
<tr>
<td valign="top">
<table width="100%" border="0" align="left" cellspacing="0" cellpadding="0" >
<tr>
<td width="50%" valign="top">
<table width="150" align="left" border="0" cellspacing="6" cellpadding="0">
<tr>
<td><table width="150" border="0" align="left" cellpadding="0" cellspacing="0" >
<tr>
<td><img align="left" src="<?=DIR_FS_EVENT_IMAGES.$rows_articles->imageName?>" style="border:6px solid #EFF5F5;"></a>
</td>
</tr>
</table></td>
</tr>
</table>
<strong><?=$rows_articles->articleTitle?></strong> <br />
<div align="justify"><?=$rows_articles->articleSummary?></div>
</td>
<td width="1%" valign="top" style="background-image: url('https://pakistanreader.org/line-div.jpg'); background-repeat: repeat-y; background-position: center top"></td>
<td width="49%" valign="top"><? if($num_event>1){
while($rows_articles = mysql_fetch_object($result_articles) ) {
?>
<font color="red"><?=$rows_articles->articleTitle1?></font> <br />
<strong><?=$rows_articles->articleTitle?></strong> <br />
<br><br>
<? } } ?> </td>
</tr>
</table> </td>
</tr>
<tr>
<td ><div align="center"><hr></div></td>
</tr>
<? } ?>
<tr>
<td ><span class="style1"><font color="#006400">Documents</font></span> </td>
</tr>
<tr>
<td valign="top" style="padding:5px">
<!-- starts here -->
<!-- ends here-->
<table width="100%" border="0" align="left">
<? $sql_book="select * from tbl_books a where a.publication_type=2 group by recNo order by a.sort_order DESC limit 0,10";
$result_book= mysql_query($sql_book);
while($rows_book = mysql_fetch_object($result_book)){
?>
<tr>
<td width="23%" >
<table width="100" border="0">
<tr>
<td><? if(file_exists(DIR_WS_THUMBNAIL_IMAGES.$rows_book->imageName) && $rows_book->imageName != ''){?>
<img src="<?=DIR_FS_THUMBNAIL_IMAGES.$rows_book->imageName?>" width="97" height="150" />
<?}?></td>
</tr>
<tr>
<td align="left"><? if($rows_book->links){ ?>
<? $cat=strncmp("http://",$rows_book->links,7);
if($cat==0)
{
$link_name=$rows_book->links;
} else {
$link_name= "http://".$rows_book->links;
} ?>
<a href="<?=$link_name?>" class="home_pub" target="_blank"><span align="left"></span> </a>
<? } ?>
<!--<span class="green" align="center"> Purchase</span>-->
</td>
</tr>
</table></td>
<td width="70%" valign="top" align="left"><strong>
<?=$rows_book->reviewTitle?>
<br />
<?=$rows_book->title?>
</strong><br />
<strong>
<?=$rows_book->authorName?>
</strong><br />
<?=$rows_book->publicationDetails ?>
<br /></td>
</tr>
<? } mysql_free_result($result_book);?>
<tr>
<td colspan="2" align="right">
<a href="documents.php" class="more"><strong>more...</strong></a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0">
</table>
</td>
</tr>
<tr>
<td ><div align="center"><hr></div></td>
</tr>
</table></td>
<td width="281" rowspan="3" valign="top">
<table width="92%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="100%" height="25"><span class="style1"><font color="#006400">Pakistan
A Contemporary Chronology
</font></span></td>
</tr>
<? $class ="even";
$sql_news = "select * from tbl_news order by newsPaperDate desc ,recNo desc LIMIT 0,4 ";
$result_news= mysql_query($sql_news);
?>
<div align="justify" ><? while($fetch_row_data = mysql_fetch_object($result_news)){
$year = $fetch_row_data->year; ?>
<tr>
<td align="left" style="padding-top:10px;">
<?=getdatefullformat_f($fetch_row_data->newsPaperDate)?><br />
<font color="red"><?=$fetch_row_data->reportTitle2 ?></font><br>
<strong><?=$fetch_row_data->reportTitle ?></strong>
<br />
<?//=limit_text($fetch_row_data->reportText ,'','40') ?><?=$fetch_row_data->reportText ?> <br />
Source: <em><?=$fetch_row_data->newsPaperName?></em>
<br />
<div align="center"><hr></div>
</td>
</tr>
<? } ?>
</div>
<tr>
<td align="left" style="padding-top:10px;">
<div align="right"> <a href="news_more.php" class="more"><strong>more...</strong></a></div>
</td>
</tr>
<tr>
<td height="20">
<div align="center"><hr></div>
</td>
</tr>
<tr>
<td width="100%" height="25" ><span class="style1"><font color="#006400">Publications</font></span></td>
</tr>
<tr>
<td align="left" >
<? $class ="even";
$sql_articles="select a.*,c.categories_url from tbl_articles a, tbl_articles_to_categories ac, tbl_categories c where a.recNo=ac.recNo_id and ac.categories_id =c.categories_id group by a.`articleNo` order by a.articleNo desc , a.recNo
desc limit 0,15";
$result_articles= mysql_query($sql_articles);
while($rows_articles = mysql_fetch_object($result_articles)){
$articleTitleURL =$rows_articles->articleTitle;
$imageName= $rows_articles->imageName;
if($class=='even')
{
$class ="odd";
}else{
$class ="even";
}
?><div align="justify" ><table width="100%">
<? if(get_article_author_exist_num($rows_articles->recNo)>0){
$valu=(get_author_name_new(get_article_autherlist($rows_articles->recNo)));
if(is_array($valu)){
$staff_member=implode(" , ",$valu);
//echo implode(" , ",$valu)."<br>";
} }elseif($rows_articles->authorName){ $staff_member=$rows_articles->authorName;}?>
<tr class="<?=$class?>" valign="top">
<td width="5%">
<table width="31%" border="0" align="left" cellspacing="0" >
<tr> <td align="left"><a href="view_articles.php?recordNo=<?=$rows_articles->articleNo ?>" class="article"><img src="<?=DIR_FS_EVENT_THUMBNAIL_IMAGES.$imageName?>" width="50" height="50" border="0" style="border:2px solid
#EFF5F5;" title="<?=$rows_articles->imageName?>"> </a>
</td>
</tr>
</table>
</td>
<td width="95%" align="left" valign="top">
<div align="left" ><? if($rows_articles->articleTitle1 !=''){
$articleTitleURL1 =$rows_articles->articleTitle1;
$articleTitleURL =$articleTitleURL;?><i><?=$rows_articles->articleTitle1?></i><br /><? } ?>
<strong><a href="view_articles.php?recordNo=<?=$rows_articles->articleNo ?>" class="article"><?=$rows_articles->articleTitle?></a></strong><br />
<i> <? if(get_article_author_exist_num($rows_articles->recNo)>0){
$valu=(get_author_name_new(get_article_autherlist($rows_articles->recNo)));
if(is_array($valu)){
echo implode(" , ",$valu).""; echo ","; } }elseif($rows_articles->authorName){ $staff_member=$rows_articles->authorName; echo $rows_articles->authorName."";echo ",";
}?></i><?=getdatefullformat_month_year($rows_articles->articleDate)?></div><br />
</td>
</tr>
</table>
</div>
<? } ?>
<div align="right"> <a href="articles_more.php" class="more"><strong>more...</strong></a></div>
</td>
</tr>
<tr>
<td height="20">
<div align="center"><hr></div>
</td>
</tr>
<tr>
<td align="center" height="8px">
<!-- Book added starts here-->
<table width="100%" border="0" align="left">
<tr>
<td height="25" colspan="2" ><span class="style1"><font color="#006400">Book Reviews</font></span></td>
</tr>
<? $sql_book="select * from tbl_books a where a.publication_type=1 group by recNo order by a.sort_order DESC limit 0,10";
$result_book= mysql_query($sql_book);
while($rows_book = mysql_fetch_object($result_book)){
?>
<tr>
<td width="23%" >
<table width="100" border="0">
<tr>
<td><? if(file_exists(DIR_WS_THUMBNAIL_IMAGES.$rows_book->imageName) && $rows_book->imageName != ''){?>
<img src="<?=DIR_FS_THUMBNAIL_IMAGES.$rows_book->imageName?>" width="97" height="150" ><?}?></td>
</tr>
<tr><td align="left"><? if($rows_book->links){ ?>
<? $cat=strncmp("http://",$rows_book->links,7);
if($cat==0)
{
$link_name=$rows_book->links;
} else {
$link_name= "http://".$rows_book->links;
} ?>
<a href="<?=$link_name?>" class="home_pub" target="_blank"><span align="left"> Purchase</span> </a>
<? } ?> <!--<span class="green" align="center"> Purchase</span>--> </td></tr>
</table>
</td>
<td width="70%" valign="top" align="left"><strong><?=$rows_book->reviewTitle?><br>
<?=$rows_book->title?></strong><br />
<strong><?=$rows_book->authorName?></strong><br />
<?=$rows_book->publicationDetails ?><br /></td>
</tr>
<? } mysql_free_result($result_book);?>
<tr>
<td colspan="2" align="right">
<!-- <a href="/publications-books/" class="more"><strong>more...</strong></a> -->
</td>
</tr>
<tr>
<td align="left" style="padding-top:10px;" colspan="2">
<div align="right"> <a href="books.php" class="more"><strong>more...</strong></a></div>
</td>
</tr>
<tr>
<td height="20" colspan="2">
<div align="center"><img src="images/spacer.gif" width="265" height="1" style="border-bottom: dashed 1px #000000"/></div>
</td>
</tr>
</table>
<!-- ends here-->
</td>
</tr>
</table>
</td>
</tr>
</table>
<br /></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
</tr>
</table>
<? include('footer.php');?>
</body>
</html>