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.118.137.78 | |
Server Type : unknown | Website : ?? Domains | |
Safe Mode: OFF | |
Disable Functions:NONE | |
Server Software: LiteSpeed [Exploit DB] | |
Directory : /home2/conflictreader/public_html/ | |
Filename : more-topics.php [ view ] [ edit ] [ rename ] [ download ] [ delete ]
<?php
require('includes/application_top.php');
?>
<?
$cID = $_GET['url'];
?>
<? include('header.php');?>
<p> </p>
<div class="container-fluid peace-wrap">
<div class="container">
<h3><span>Conflicts - <? if(!empty($cID)){ ?><?=getCategoryName($cID) ?> <? } ?></span></h3>
</div></div>
<div class="four-col-wrap container-fluid">
<div class="container m-t-b-30">
<?
$cID = $_GET['url'];
$x=0;
$caturl = getCategoryURL($cID);
//echo $caturl;
if($cID)
{
$categories_query = mysql_query("select cc.* from tbl_categories cc where cc.categories_id = '" . (int)$cID. "'") or die(mysql_error());
$rows_fetch = mysql_fetch_array($categories_query);
}
$result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',$cID,'limit 6',$_REQUEST['M_ID']);
$nun_article =mysql_num_rows($result_articles);
if($nun_article>0){
while($rows_articles = mysql_fetch_object($result_articles)){
$articleTitleURL =$rows_articles->articleTitle;
$imageName= $rows_articles->imageName;
$publication_type= $rows_articles->publication_type;
if($publication_type=="1"){$publication_type= "Comment";}
else if($publication_type=="2"){$publication_type= "Analysis";}
else if ($publication_type=="3"){$publication_type= "Brief";}
else if ($publication_type=="4"){$publication_type= "Update";}
else if ($publication_type=="5"){$publication_type= "Forecast";}
else $publication_type= "Comment";
if($class=='2')
{
$class ="1";
}else{
$class ="2";
}
switch ($x) {
case 0:
$background="sri-color";
break;
case 1:
$background="nepal-color";
break;
case 2:
$background="myanmar-color";
break;
case 3:
$background="north-east";
break;
case 4:
$background="jk-color";
break;
case 5:
$background="pak-color";
break;
case 6:
$background="naxal-color";
break;
default:
$background="jk-color";
}
$x++; if($x==6){$x=0;}
?>
<div class="col-sm-3 clearfix four-col-block">
<div class="img-wrap-country">
<div class="name-country <?=$background?>"><?=$rows_articles->articleTitle1?></div>
<img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName?>" class="img-responsive" style=" width:280px; height:175px;"> </div>
<div class="clearfix"> </div>
<div class="clearfix m-b-15"><span class="blue-sub-heading"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($rows_articles->articleDate)?> </span> <span class="blue-sub-heading">| </span> <span
class="blue-sub-heading"><span class="icon-user"></span> <?=$publication_type?></span> </div>
<h4><?=$rows_articles->articleTitle?></h4>
<?=$rows_articles->articleSummary?>
<a href="view_articles.php?url=<?=$rows_articles->articleTitle1?>&recordNo=<?=$rows_articles->articleNo ?>" class="read-more-txt">read more</a> </div>
<? } ?>
<? } ?>
</div>
</div>
<!--Conflict Alters section html ends here-->
<!--on peace html start here-->
<? include('footer.php');?>