0x Shell The Next JanCox Shell

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: 3.135.183.190
Server Type : unknown | Website : ?? Domains
Safe Mode: OFF
Disable Functions:NONE
Server Software: LiteSpeed [Exploit DB]
Directory : /home2/conflictreader/public_html/
Command :

Home / Config / Jump / Sym / Cpanel / Sym / Mass / Mirror / Cgi / BC / About / Server Info / Self Remove / Hidden Shell / Config ResPass / Auto CU Joomla / Deface / Cpanel Reset /
Filename : demo.php [ view ] [ edit ] [ rename ] [ download ] [ delete ]
<?php
require('includes/application_top.php');
?>

<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Conflict Reader</title>


<style>

.normal {
    text-transform: none;
}

</style>


<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/animate.css/3.5.1/animate.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Signika:300,400,600" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!--menu html start here-->
<div class="header container-fluid">
  <div class="container">
    <div class="row clearfix"> <a class="logo" href="#"> <img src="images/logo.png" title="Conflict Reader" alt="Conflict Reader" class=" img-responsive logo" > </a> </div>
    <div class="clearfix" style="margin-bottom:20px;"></div>
    <div class="container-fluid">
      <!-- Second navbar for categories -->
      <nav class="navbar navbar-default">
        <div class="container">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span> </button>
            <a class="navbar-brand" href="#"></a> </div>
          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="navbar-collapse-1">
            <ul class="nav navbar-nav ">
              <li class="active"><a href="#">Home</a></li>
              <li><a href="#">About</a></li>
              <li><a href="#">Publications </a></li>
              <li><a href="#">Books &amp; Reports</a></li>
              <li><a href="#">Regions</a></li>
              <li><a href="#">Radicalism Project</a></li>
              <li><a href="#">ACSA </a></li>
              <li><a href="#">Fellows </a></li>
              <li><a href="#">Partners </a></li>
              <li class="soical-btn"><a href="#"><span class="icon-social"> </span> </a></li>
              <li class="soical-btn"><a href="#"><span class="icon-twitter"></span> </a></li>
              <li class="soical-btn"><a href="#"><span class="icon-youtube"></span> </a></li>
              <li class="soical-btn"><a href="#"><span class="icon-google"></span> </a></li>
            </ul>
          </div>
          <!-- /.navbar-collapse -->
        </div>
        <!-- /.container -->
      </nav>
      <!-- /.navbar -->
    </div>
  </div>
</div>
<div class="clearfix"></div>
<!--menu html start here-->
<!--banner html start here-->
<!-- Carousel
================================================== -->



<? $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,19"
;
$result_articlesmysql_query($sql_articles) ; 
$data_array=array();
while (
$row mysql_fetch_array($result_articlesMYSQL_ASSOC)) 
{
    
array_push($data_array,$row);
}
                 
    
?>    



<div id="myCarousel" class="carousel slide">
  <!-- Indicators -->
  <ol class="carousel-indicators">
    <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
    <li data-target="#myCarousel" data-slide-to="1"></li>
    <li data-target="#myCarousel" data-slide-to="2"></li>
  </ol>
<? $imageName=    $data_array[0][imageName]; ?>
    <div class="carousel-inner">
    <div class="item active"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName?>" class="img-responsive">
      <div class="container">
        <div class="carousel-caption">  
          <p></p>
          </p>
          </pthis>
        </div>
      </div>
    </div>
    
<? $imageName1=    $data_array[1][imageName];?>

    <div class="item"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName1?>" class="img-responsive">
      <div class="container">
        <div class="carousel-caption"> </div>
      </div>
    </div>
    <? $imageName2=    $data_array[2][imageName];?>
    <div class="item"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName2?>" class="img-responsive">
      <div class="container">
        <div class="carousel-caption"> </div>
      </div>
    </div>
  </div>
  
  <!-- Controls -->
  <a class="left carousel-control" href="#myCarousel" data-slide="prev">
  <div class="cruve-box m-b-110"> <span class="fa fa-angle-left line-height"></span> </div>
  </a> <a class="right carousel-control" href="#myCarousel" data-slide="next">
  <div class="cruve-box"> <span class="fa fa-angle-right line-height"> </span> </div>
  </a> </div>
<!-- /.carousel -->
</div>
<!-- /.container -->
<!--blue html start here-->

<?

$articleNo
=$data_array[0][articleNo];
$imageName=    $data_array[0][imageName];
$articleTitle =$data_array[0][articleTitle];
$articleDate=$data_array[0][articleDate];        
$articleTitle1=$data_array[0][articleTitle1];
$publication_type=    $data_array[0][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";
               
            
$text$data_array[0][articleSummary];         
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"200);

?>



<div class="blue-wrap container-fluid">
  <div class="container">
    <div class=" col-sm-12">
      <h2><a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo?>"> <span class="normal"><?=$articleTitle?></span></a></h2>
      <div class="clearfix m-b-15"><span class="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?> </span> 
<span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span> <?=$publication_type?> </span> </div>
      <p><?=$text?></p>
    </div>
  </div>
</div>
<!--blue html ends here-->
<!--fout section html start here-->
<div class="four-col-wrap container-fluid">
  <div class="container">
    <div class="row">

    <? 
                
            $articleNo
=$data_array[1][articleNo];
$imageName=    $data_array[1][imageName];
$articleTitle =$data_array[1][articleTitle];
$articleDate=$data_array[1][articleDate];        
$articleTitle1=$data_array[1][articleTitle1];
$publication_type=    $data_array[1][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";

                
$text$data_array[1][articleSummary];

$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"100);
            
?>



<div class="col-sm-3 clearfix four-col-block">
        <div class="img-wrap"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName?>" class="img-responsive" style="height:168px; width:280px;"> </div>
        <span class="heading-text clearfix"> <?=$articleTitle?></span> 
<span class="blue-sub-heading"><?=getdatefullformat_month_year($articleDate)?> |  <?=$publication_type?></span>

     <p><?=$text?></p> 

        <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">READ MORE</a> </div>




<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
$articleNo=$data_array[2][articleNo];
$imageName=    $data_array[2][imageName];
$articleTitle =$data_array[2][articleTitle];
$articleDate=$data_array[2][articleDate];        
$articleTitle1=$data_array[2][articleTitle1];
$publication_type=    $data_array[2][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";
$text$data_array[2][articleSummary];


$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"100);
    
    
            
?>

<div class="col-sm-3 clearfix four-col-block">
        <div class="img-wrap"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName?>" class="img-responsive" style="height:168px; width:280px;"> </div>
        <span class="heading-text clearfix"> <?=$articleTitle?></span> 
<span class="blue-sub-heading"><?=getdatefullformat_month_year($articleDate)?> |  <?=$publication_type?></span>
        <p><?=$text?></p>
        <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">READ MORE</a> </div>


<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
             
$articleNo=$data_array[3][articleNo];
$imageName=    $data_array[3][imageName];
$articleTitle =$data_array[3][articleTitle];
$articleDate=$data_array[3][articleDate];        
$articleTitle1=$data_array[3][articleTitle1];
$publication_type=    $data_array[3][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";
$text$data_array[3][articleSummary];
         
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"100);
    
            
?>

<div class="col-sm-3 clearfix four-col-block">
        <div class="img-wrap"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName?>" class="img-responsive" style="height:168px; width:280px;"> </div>
        <span class="heading-text clearfix"> <?=$articleTitle?></span> 
<span class="blue-sub-heading"><?=getdatefullformat_month_year($articleDate)?> |  <?=$publication_type?></span>
        <p><?=$text?></p>
        <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">READ MORE</a> </div>

               <? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
            
$articleNo=$data_array[4][articleNo];
$imageName=    $data_array[4][imageName];
$articleTitle =$data_array[4][articleTitle];
$articleDate=$data_array[4][articleDate];        
$articleTitle1=$data_array[4][articleTitle1];
$publication_type=    $data_array[4][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";
$text$data_array[4][articleSummary];

    
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"100);
            
?>


<div class="col-sm-3 clearfix four-col-block">
        <div class="img-wrap"> <img src="<?=DIR_FS_EVENT_BIG_IMAGES.$imageName?>" class="img-responsive" style="height:168px; width:280px;"> </div>
        <span class="heading-text clearfix"> <?=$articleTitle?></span> 
<span class="blue-sub-heading"><?=getdatefullformat_month_year($articleDate)?> |  <?=$publication_type?></span>
        <p><?=$text?></p>
        <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">READ MORE</a> </div>


    </div>
  </div>
</div>
<!--fout section html ends here-->
<!--Conflict Alerts section html start here-->
<div class="container-fluid conflict-wrap">
  <div class="container m-t-b-30">
    <h3><span>Conflict Alerts </span></h3>



<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
$articleNo=$data_array[5][articleNo];
$imageName=    $data_array[5][imageName];
$articleTitle =$data_array[5][articleTitle];
$articleDate=$data_array[5][articleDate];        
$articleTitle1=$data_array[5][articleTitle1];
$publication_type=    $data_array[5][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";
$text$data_array[5][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>




    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>



<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
    
                    
$articleNo=$data_array[6][articleNo];
$imageName=    $data_array[6][imageName];
$articleTitle =$data_array[6][articleTitle];
$articleDate=$data_array[6][articleDate];        
$articleTitle1=$data_array[6][articleTitle1];
$publication_type=    $data_array[6][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";
$text$data_array[6][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>



    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country pak-color"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>




<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
$articleNo=$data_array[7][articleNo];
$imageName=    $data_array[7][imageName];
$articleTitle =$data_array[7][articleTitle];
$articleDate=$data_array[7][articleDate];        
$articleTitle1=$data_array[7][articleTitle1];
$publication_type=    $data_array[7][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";
$text$data_array[7][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>



    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country jk-color"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>



<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
        
$articleNo=$data_array[8][articleNo];
$imageName=    $data_array[8][imageName];
$articleTitle =$data_array[8][articleTitle];
$articleDate=$data_array[8][articleDate];        
$articleTitle1=$data_array[8][articleTitle1];
$publication_type=    $data_array[8][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";
$text$data_array[8][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>



    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country north-east"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>

<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
        
$articleNo=$data_array[9][articleNo];
$imageName=    $data_array[9][imageName];
$articleTitle =$data_array[9][articleTitle];
$articleDate=$data_array[9][articleDate];        
$articleTitle1=$data_array[9][articleTitle1];
$publication_type=    $data_array[9][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";
$text$data_array[9][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>


    <div class="clearfix m-t-b-30"></div>
    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country naxal-color"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>

<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
        
$articleNo=$data_array[10][articleNo];
$imageName=    $data_array[10][imageName];
$articleTitle =$data_array[10][articleTitle];
$articleDate=$data_array[10][articleDate];        
$articleTitle1=$data_array[10][articleTitle1];
$publication_type=    $data_array[10][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";
$text$data_array[10][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>


    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country nepal-color"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>



<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
        
$articleNo=$data_array[11][articleNo];
$imageName=    $data_array[11][imageName];
$articleTitle =$data_array[11][articleTitle];
$articleDate=$data_array[11][articleDate];        
$articleTitle1=$data_array[11][articleTitle1];
$publication_type=    $data_array[11][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";
$text$data_array[11][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>


    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country sri-color"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>


<? 
                
            
//  $result_articles = showdata_details('tbl_articles','tbl_articles_to_categories',1,'limit 5',$_REQUEST['M_ID']);
        
            
            
        
$articleNo=$data_array[12][articleNo];
$imageName=    $data_array[12][imageName];
$articleTitle =$data_array[12][articleTitle];
$articleDate=$data_array[12][articleDate];        
$articleTitle1=$data_array[12][articleTitle1];
$publication_type=    $data_array[12][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";
$text$data_array[12][articleSummary];
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
    
            
?>



    <div class="col-sm-3 clearfix four-col-block">
      <div class="img-wrap-country">
        <div class="name-country myanmar-color"><?=$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="white-text"><span class="icon-calendar"></span> <?=getdatefullformat_month_year($articleDate)?></span> <span class="white-text">| </span> <span class="white-text"><span class="icon-user"></span>
<?=$publication_type?></span> </div>
      <h4><?=$articleTitle?></h4>
      <a href="view_articles.php?url=<?=$articleTitle1?>&recordNo=<?=$articleNo ?>" class="read-more-txt">read more</a> </div>






  </div>
</div>
<!--Conflict Alerts section html ends here-->
<!--on peace html start here-->
<div class="container-fluid peace-wrap">
  <div class="container">
    <h3><span>On Peace</span></h3>
    <div class="clearfix m-b-15">
      <div class="col-sm-6 m-b-40">
        <p>Pakistan on 23 February 2017 launched a military offensive named 'Operation Radd-ul-Fasaad.' According to an ISPR statement, the "Pperation aims at indiscriminately eliminating residual / latent threat of terrorism, consolidating
gains of operations made thus far and further ensuring security of the borders. Pakistan Air Force, Pakistan Navy, Civil Armed Forces (CAF) and other security / Law Enforcing Agencies (LEAs) will continue to actively participate /
intimately support the efforts to eliminate the menace of terrorism from the country. The effort entails conduct of Broad Spectrum Security / Counter Terrorism (CT) operations by Rangers in Punjab, continuation of ongoing operations across
the country and focus on more effective border security management. Country wide de-weaponisation and explosive control are additional cardinals of the effort. Pursuance of National Action Plan will be the hallmark of this operation."</p>
        <a href="#" class="pull-right"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>


 <? 
                $select_eve
="select * from tbl_events_gallery order by id desc limit 0,5";
                
$result_2=mysql_query($select_eve);
                

$data_array_gallery=array();
while (
$row_gallery mysql_fetch_array($result_2MYSQL_ASSOC)) 
{
    
array_push($data_array_gallery,$row_gallery);
}

$photo=    $data_array_gallery[0][photo];
$title =$data_array_gallery[0][title];
$link=$data_array_gallery[0][link];                 
    
?>




      <div class="col-sm-6">
        <div class="right-hands-wrap">
          <div class="m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>"  class="img-responsive" style="width:540px; height:336px;"> </div>
          <div class="col-sm-1"><span class="icon-photo-camera m-t-15"></span></div>
          <div class="col-sm-11">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <div class="clearfix"></div>
            <h4><?=$title?></h4>
          </div>
          <div class="clearfix"></div>
        </div>
      </div>
    </div>

<?

$photo
=    $data_array_gallery[1][photo];
$title =$data_array_gallery[1][title];
$link=$data_array_gallery[1][link];    

?>

    <div class="news-wrap">
      <div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive"   style=" width:280px; height:175px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>
    </div>
    <div class="news-wrap">
      

<?
$photo
=    $data_array_gallery[2][photo];
$title =$data_array_gallery[2][title];
$link=$data_array_gallery[2][link];    
?>

<div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive"  style=" width:280px; height:175px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>

<?
$photo
=    $data_array_gallery[3][photo];
$title =$data_array_gallery[3][title];
$link=$data_array_gallery[3][link];    

?>
<div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive"  style=" width:280px; height:175px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>

<?
$photo
=    $data_array_gallery[4][photo];
$title =$data_array_gallery[4][title];
$link=$data_array_gallery[4][link];    

?>
<div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive"  style=" width:280px; height:175px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>






    </div>
  </div>
</div>
<!--on peace html ends here-->
<!--Reviews Editorial section start here-->


<? $sql_book="select * from tbl_books a   group by recNo order by a.sort_order DESC limit 0,4";

    
$result_bookmysql_query($sql_book);
$num_book =mysql_num_rows($result_book);
      
?>
      
<div class="container-fluid">
  <div class="container">
    <div class="col-sm-6 reviews-wrap ">
      <h3><span>Reviews</span></h3>
      
      
      
       <? if($num_book>0){ $rows_book mysql_fetch_object($result_book);  $imageName=    $rows_book->imageName;
      
$publication_type=$rows_book->publication_type
      
            if(
$publication_type=="1"){$publication_type"Book";} 
             else if(
$publication_type=="2"){$publication_type"Document";}
             else if (
$publication_type=="3"){$publication_type"Essay";} 
              else if (
$publication_type=="4"){$publication_type"Report";} 
               else 
$publication_type"Book";

$text$rows_book->bookText;
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);


      
?>
      
      
      
      
      <div class="row rewiews-sub-block line-bottom">
        <div class="col-sm-6 four-col-block"> <img src="<?=DIR_FS_BOOK_IMAGES.$imageName?>" class="img-responsive" style="width:270px; height:180px;"> </div>
        <div class="col-sm-6">
          <h4><?=$publication_type?></h4>
          <h5><?=$rows_book->reviewTitle?></h5>
          <p class="small-text"> <span class="icon-calendar"></span> &nbsp; | &nbsp;<?=getdatefullformat_month_year($rows_book->createDate)?> </p>
          <p class="small-text"> <span class="icon-document_shild"> </span> &nbsp; | &nbsp;<?=$rows_book->title?></p>
          <p class="small-text"> <span class="icon-pen"></span> &nbsp; | &nbsp;<strong>by <?=$rows_book->authorName?></strong></p>
          <p class="small-text"> <span class="icon-check"></span> &nbsp; | &nbsp;<?=$rows_book->publicationDetails?></p>
          <p><?=$text?></p>
          <a href="#" class="read-more-txt">read more</a> </div>
      </div>
      <? ?>
     
      <? if($num_book>1){ $rows_book mysql_fetch_object($result_book);  $imageName=    $rows_book->imageName;
      
$publication_type=$rows_book->publication_type
      
            if(
$publication_type=="1"){$publication_type"Book";} 
             else if(
$publication_type=="2"){$publication_type"Document";}
             else if (
$publication_type=="3"){$publication_type"Essay";} 
              else if (
$publication_type=="4"){$publication_type"Report";} 
               else 
$publication_type"Book";

$text$rows_book->bookText;
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
      
?>
      
      
      
      
      <div class="row rewiews-sub-block line-bottom">
        <div class="col-sm-6 four-col-block"> <img src="<?=DIR_FS_BOOK_IMAGES.$imageName?>" class="img-responsive" style="width:270px; height:180px;"> </div>
        <div class="col-sm-6">
          <h4><?=$publication_type?></h4>
          <h5><?=$rows_book->reviewTitle?></h5>
          <p class="small-text"> <span class="icon-calendar"></span> &nbsp; | &nbsp;<?=getdatefullformat_month_year($rows_book->createDate)?> </p>
          <p class="small-text"> <span class="icon-document_shild"> </span> &nbsp; | &nbsp;<?=$rows_book->title?></p>
          <p class="small-text"> <span class="icon-pen"></span> &nbsp; | &nbsp;<strong>by <?=$rows_book->authorName?></strong></p>
          <p class="small-text"> <span class="icon-check"></span> &nbsp; | &nbsp;<?=$rows_book->publicationDetails?></p>
            <p><?=$text?></p>
          <a href="#" class="read-more-txt">read more</a> </div>
      </div>
      <? ?>
      
      
        <? if($num_book>2){ $rows_book mysql_fetch_object($result_book);  $imageName=    $rows_book->imageName;
      
$publication_type=$rows_book->publication_type
      
            if(
$publication_type=="1"){$publication_type"Book";} 
             else if(
$publication_type=="2"){$publication_type"Document";}
             else if (
$publication_type=="3"){$publication_type"Essay";} 
              else if (
$publication_type=="4"){$publication_type"Report";} 
               else 
$publication_type"Book";
$text$rows_book->bookText;
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);

      
?>
      
      
      
      
      <div class="row rewiews-sub-block line-bottom">
        <div class="col-sm-6 four-col-block"> <img src="<?=DIR_FS_BOOK_IMAGES.$imageName?>" class="img-responsive" style="width:270px; height:180px;"> </div>
        <div class="col-sm-6">
          <h4><?=$publication_type?></h4>
          <h5><?=$rows_book->reviewTitle?></h5>
          <p class="small-text"> <span class="icon-calendar"></span> &nbsp; | &nbsp;<?=getdatefullformat_month_year($rows_book->createDate)?> </p>
          <p class="small-text"> <span class="icon-document_shild"> </span> &nbsp; | &nbsp;<?=$rows_book->title?></p>
          <p class="small-text"> <span class="icon-pen"></span> &nbsp; | &nbsp;<strong>by <?=$rows_book->authorName?></strong></p>
          <p class="small-text"> <span class="icon-check"></span> &nbsp; | &nbsp;<?=$rows_book->publicationDetails?></p>
          <p><?=$text?></p>
          <a href="#" class="read-more-txt">read more</a> </div>
      </div>
      <? ?>
      
      
        <? if($num_book>3){ $rows_book mysql_fetch_object($result_book);  $imageName=    $rows_book->imageName;
      
$publication_type=$rows_book->publication_type
      
            if(
$publication_type=="1"){$publication_type"Book";} 
             else if(
$publication_type=="2"){$publication_type"Document";}
             else if (
$publication_type=="3"){$publication_type"Essay";} 
              else if (
$publication_type=="4"){$publication_type"Report";} 
               else 
$publication_type"Book";

$text$rows_book->bookText;
$text preg_replace("/<.*?>/"""$text);
$text=elliStr("$text"70);
      
?>
      
      
      
      
      <div class="row rewiews-sub-block line-bottom">
        <div class="col-sm-6 four-col-block"> <img src="<?=DIR_FS_BOOK_IMAGES.$imageName?>" class="img-responsive" style="width:270px; height:180px;"> </div>
        <div class="col-sm-6">
          <h4><?=$publication_type?></h4>
          <h5><?=$rows_book->reviewTitle?></h5>
          <p class="small-text"> <span class="icon-calendar"></span> &nbsp; | &nbsp;<?=getdatefullformat_month_year($rows_book->createDate)?> </p>
          <p class="small-text"> <span class="icon-document_shild"> </span> &nbsp; | &nbsp;<?=$rows_book->title?></p>
          <p class="small-text"> <span class="icon-pen"></span> &nbsp; | &nbsp;<strong>by <?=$rows_book->authorName?></strong></p>
          <p class="small-text"> <span class="icon-check"></span> &nbsp; | &nbsp;<?=$rows_book->publicationDetails?></p>
           <p><?=$text?></p>
          <a href="#" class="read-more-txt">read more</a> </div>
      </div>
      <? ?>
      
      
    </div>
    <div class="col-sm-6 editorial-wrap">
      <h3><span>Database</span></h3>
      <div class="col-sm-12 m-b-15"> <img src="images/editorial-img.jpg" class="img-responsive"> </div>
      <div class="col-sm-12">
        <p class="text-blurb"><span class="sub-hightlight-text">Prakash Panneerselvam,</span> <strong>"Will Modi's "Make in India"</strong> Programme
          Benefit from Japanese Defence Industry", WIONews, 19 September
          2017.</p>
        <p class="text-blurb"><span class="sub-hightlight-text">D Suba Chandran,</span> <strong>"The Rohingya Violence,"</strong> Rising Kashmir, 12
          September 2017 </p>
        <p class="text-blurb"><span class="sub-hightlight-text">Shreya Upadhyay, </span><strong>"Green is the Colour of Indo-US Ties,"</strong> Mainstream, 16 September 2017, VOL LV No 39 </p>
        <p class="text-blurb"><span class="sub-hightlight-text">Prakash Panneerselvam,</span><strong>"Will Modi's "Make in India"</strong> Programme
          Benefit from Japanese Defence Industry", WIONews, 19 September
          2017.</p>
        <p class="text-blurb"> <span class="sub-hightlight-text">D Suba Chandran,</span> <strong>"The Rohingya Violence,"</strong> Rising Kashmir, 12
          September 2017</p>
        <p class="text-blurb"><span class="sub-hightlight-text">Shreya Upadhyay,</span> <strong>"Green is the Colour of Indo-US Ties,"</strong> Mainstream, 16 September 2017, VOL LV No 39 </p>
        <p class="text-blurb"><span class="sub-hightlight-text">Prakash Panneerselvam,</span> <strong>"Will Modi's "Make in India"</strong> Programme
          Benefit from Japanese Defence Industry", WIONews, 19 September
          2017.</p>
        <p class="text-blurb"><span class="sub-hightlight-text">D Suba Chandran,</span> <strong>"The Rohingya Violence,"</strong> Rising Kashmir, 12
          September 2017 </p>
        <p class="text-blurb"> <span class="sub-hightlight-text">D Suba Chandran,</span> <strong>"The Rohingya Violence,"</strong> Rising Kashmir, 12
          September 2017</p>
        <p class="text-blurb"><span class="sub-hightlight-text">Shreya Upadhyay,</span> <strong>"Green is the Colour of Indo-US Ties,"</strong> Mainstream, 16 September 2017, VOL LV No 39 </p>
        <p class="text-blurb"><span class="sub-hightlight-text">Shreya Upadhyay,</span> <strong>"Green is the Colour of Indo-US Ties,"</strong> Mainstream, 16 September 2017, VOL LV No 39 </p>
        <p class="text-blurb"><span class="sub-hightlight-text">Shreya Upadhyay,</span> <strong>"Green is the Colour of Indo-US Ties,"</strong> Mainstream, 16 September 2017, VOL LV No 39 </p>
        <div class="row partner-wrap">
          <h3><span>Our Partners</span></h3>
          <div class="col-sm-12 m-b-15">
            <div class="col-sm-6">
              <div class="white-bg-wrap"> <img src="images/KAS-logo.png" class="img-responsive"> </div>
            </div>
            <div class="col-sm-6"> <span class="txt-wrap"><span class="b-txt">The Konrad-Adenauer-Stiftung
              (KAS)</span>
             Supports the Armed Conflict in South Asia Annual since 2005. </span> </div>
          </div>
          <div class="clearfix"></div>
          <div class="border-btm"></div>
          <div class="col-sm-12 m-b-15">
            <div class="col-sm-6">
              <div class="white-bg-wrap"> <img src="images/BIPSS.jpg" class="img-responsive"> </div>
            </div>
            <div class="col-sm-6"> <span class="txt-wrap"><span class="b-txt">Bangladesh Institute of Peace and Security Studies (BIPSS) </span><br>
             is a think tank based in Dhaka, Bangladesh. Plans to work on demography and youth radicalisation.</span> </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="container stories-wrap">
    <h3><span>Photo Stories</span></h3>
  </div>
</div>
<!--Reviews Editorial section ends here-->
<!--top sotries section start here-->



 <? 
                $select_eve
="select * from tbl_events_gallery order by id desc limit 5,4";
                
$result_2=mysql_query($select_eve);
                

$data_array_gallery=array();
while (
$row_gallery mysql_fetch_array($result_2MYSQL_ASSOC)) 
{
    
array_push($data_array_gallery,$row_gallery);
}

$photo=    $data_array_gallery[0][photo];
$title =$data_array_gallery[0][title];
$link=$data_array_gallery[0][link];                 
    
?>





<div class="container-fluid top-wrap">
  <div class="container">
    <div class="clearfix m-b-15">
      <div class="col-sm-6">
        <div class="right-hands-wrap">
          <div class="m-b-15 "> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>"  class="img-responsive" style=" width:647px; height:402px;"> </div>
          <div class="col-sm-1"><span class="icon-photo-camera"></span></div>
          <div class="col-sm-11">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <div class="clearfix"></div>
            <h4 class="f-22"><?=$title?></h4>
          </div>
          <div class="clearfix"></div>
        </div>
      </div>
      <div class="col-sm-6 four-col-block txt-align">
        <p>Pakistan on 23 February 2017 launched a military offensive named 'Operation Radd-ul-Fasaad.' According to an ISPR statement, the "Pperation aims at indiscriminately eliminating residual / latent threat of terrorism, consolidating
gains of operations made thus far and further ensuring security of the borders. Pakistan Air Force, Pakistan Navy, Civil Armed Forces (CAF) and other security / Law Enforcing Agencies (LEAs) will continue to actively participate /
intimately support the efforts to eliminate the menace of terrorism from the country. The effort entails conduct of Broad Spectrum Security / Counter Terrorism (CT) operations by Rangers in Punjab, continuation of ongoing operations across
the country and focus on more effective border security management. Country wide de-weaponisation and explosive control are additional cardinals of the effort. Pursuance of National Action Plan will be the hallmark of this operation."</p>
        <a href="more-photo.php" class="pull-right"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
    </div>
    
    <?

$photo
=    $data_array_gallery[1][photo];
$title =$data_array_gallery[1][title];
$link=$data_array_gallery[1][link];    

?>
    
    
    <div class="news-wrap">
      <div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive" style="width:283px; height:195px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4 ><?=$title?></h4>
            <a href="more-photo.php" class="pull-right icon-position"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>
    </div>
    <?
$photo
=    $data_array_gallery[2][photo];
$title =$data_array_gallery[2][title];
$link=$data_array_gallery[2][link];    
?>

    <div class="news-wrap">
      <div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive" style="width:283px; height:195px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right icon-position"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>
      <?
$photo
=    $data_array_gallery[3][photo];
$title =$data_array_gallery[3][title];
$link=$data_array_gallery[3][link];    

?>
      <div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive" style="width:283px; height:195px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right icon-position"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>
      
      <?
$photo
=    $data_array_gallery[4][photo];
$title =$data_array_gallery[4][title];
$link=$data_array_gallery[4][link];    

?>
      <div class="col-sm-3 four-col-block">
        <div class="right-hands-wrap p-0">
          <div class=" m-b-15"> <img src="<?=DIR_FS_EVENT_GALLERY_IMAGES.$photo?>" class="img-responsive" style="width:283px; height:195px;"> </div>
          <div class="col-sm-12">
            <p class="source-col  pull-left ">Photo Source: <?=$link?></p>
            <span class=" clearfix"></span>
            <h4><?=$title?></h4>
            <a href="more-photo.php" class="pull-right icon-position"><i class="fa fa-external-link" aria-hidden="true"></i></a> </div>
          <span class=" clearfix"></span> </div>
      </div>
    </div>
  </div>
</div>
<!--top sotries section ends here-->
<!--Subscribe html section start here-->
<div class="container-fluid">
  <div class="container subscribe-wrap">
    <div class="col-sm-6">
      <div class="col-sm-3">
        <div class="img-circle blue-stripe"> <span class="icon-mail"></span> </div>
      </div>
      <div class="col-sm-9">
        <p class="news-text-sub">Newsletter</p>
        <p class="b-news-text">We love our followers.
          Subscribe for Monthly CR Newsletter.</p>
      </div>
    </div>
    <div class="col-sm-6">
      <form  action="index.php?action=newsletters" method="post"  name="myForm">    
        <div class="input-group">
          <input class="btn btn-lg" name="email" id="email" type="email" placeholder="Enter your Email ID" required>
          <button class="btn btn-info btn-lg" type="submit">Submit</button>
        </div>
      </form>
    </div>
  </div>
</div>
<!--Subscribe html section ends here-->
<!--footer html section start here-->
<div class="footer-bg container-fluid">
    <div class="container">
  <div class="footer-topics-wrap">
    <div class="col-sm-6">
      <h6 class="topic-heading">Topics</h6>
      <div class="col-sm-5">
        <div class="topic-ul">
          <ul>
            <li><a href="#">Afghanistan</a></li>
            <li><a href="#">CPEC</a></li>
            <li><a href="#">Domestic Politics</a></li>
            <li><a href="#">Economy</a></li>
            <li><a href="#">Energy</a></li>
            <li><a href="#">External Relations</a></li>
            <li><a href="#">Extremism and Violence</a></li>
            <li><a href="#">Nuclear and Missile </a></li>
            <li><a href="#">Security</a></li>
          </ul>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="topic-ul">
          <ul>
            <li><a href="#">Society</a></li>
            <li><a href="#">India-Pakistan</a></li>
            <li><a href="#">Pak and China</a></li>
            <li><a href="#">Pak and US</a></li>
            <li><a href="#">Terrorism</a></li>
            <li><a href="#">Sectarian</a></li>
            <li><a href="#">Balochistan</a></li>
            <li><a href="#">FATA &amp; KP </a></li>
            <li><a href="#">Punjab</a></li>
          </ul>
        </div>
      </div>
      <div class="col-sm-3">
        <div class="topic-ul">
          <ul>
            <li><a href="#">Sindh</a></li>
            <li><a href="#">PoK</a></li>
            <li><a href="#">Military</a></li>
            <li><a href="#">Provinces</a></li>
            <li><a href="#">Culture</a></li>
            <li><a href="#">Gender</a></li>
            <li><a href="#">history</a></li>
            <li><a href="#">sportd</a></li>
            <li><a href="#">water</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div class="col-sm-3">
      <h6 class="topic-heading">Publications</h6>
      
      <? $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,3"
;
$result_articlesmysql_query($sql_articles);
$num_event =mysql_num_rows($result_articles);
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";
                     
    
?>
    
    
      <div class="public-wrap pull-left ">
        <div class="pull-left left-img"> <img src="<?=DIR_FS_EVENT_IMAGES.$imageName?>" class="img-responsive"> </div>
        <div class="pull-right right-content"> <span class="date-ana-text"> <?=getdatefullformat_month_year($rows_articles->articleDate)?>  |  <?=$publication_type?> </span>
          <div class="white-content"> <a href="view_articles.php?url=<?=$rows_articles->articleTitle1?>&recordNo=<?=$rows_articles->articleNo ?>"><strong><?=$rows_articles->articleTitle?></strong></a></div>
        </div>
      </div>
<? ?>
   
    </div>
    <div class="col-sm-3">
      <h6 class="topic-heading">Reviews</h6>
      
     
      <div class="topic-ul">
        <ul>
        
         <? $sql_book="select * from tbl_books a   group by recNo order by a.sort_order DESC limit 0,4";
    
$result_book mysql_query($sql_book) or die(DB_QUERY_ERROR);
    while(
$rows_book mysql_fetch_object($result_book)){
         
$imageName=    $rows_book->imageName;
        
$publication_type=    $rows_book->publication_type;
 
        if(
$publication_type=="1"){$publication_type"Book";} 
             else if(
$publication_type=="2"){$publication_type"Document";}
             else if (
$publication_type=="3"){$publication_type"Essay";} 
             else if (
$publication_type=="4"){$publication_type"Report";} 
             else 
$publication_type"Book";

      
?>
          <li>
            <p class="right-text-footer"><?=$rows_book->reviewTitle?></p>
            <p class="right-text-footer"><?=$publication_type?>, <span class="date-ana-text"> <?=getdatefullformat_month_year($rows_book->createDate)?></span></p>
          </li>
    <? ?>
        </ul>
      </div>
    </div>
  </div>
</div>

<div class="clearfix m-b-30"></div>
<!-- copyright html start here-->
<div class="container author-wrap">
  <div class="col-sm-5">
    <p class="sub-title-name">D. Suba Chandran, PhD</p>
    <p class="sub-title">Professor</p>
    <p>International Strategic &amp; Security Studies Programme
      National Institute of Advanced Studies (NIAS)
      Indian Institute of Science Campus
      Bangalore-560012, INDIA</p>
  </div>
  <div class="col-sm-4">
    <div class="clearfix m-t-f-55"></div>
    <p>Ph: 91-80-22185142 (Office-Direct) <br>
      91-80-22185000 (Office) <br>
      91-9810326878 (Mobile) <br>
      Email: subachandran@gmail.com</p>
  </div>
  <div class="col-sm-3">
    <div class="clearfix m-t-f-55"></div>
    <p align="right"> &copy; 2017, Copyrights Conflict Reader.
      All Rights Reserved
      Designed by <a href="http://dreamdiz.com/" target="_blank">dreamDiz</a> </p>
  </div>
</div>
<hr>
<div class="container footer-menu">
  <div class="col-sm-10 four-col-block"> <a href="#">Home</a> <span class="line">|</span> <a href="#">About</a> <span class="line">|</span> <a href="#">Publications</a> <span class="line">|</span> <a href="#">Books & Reports</a> <span
class="line">|</span> <a href="#">Regions</a> <span class="line">|</span> <a href="#">Radicalism Project</a> <span class="line">|</span> <a href="#">ACSA</a> <span class="line">|</span> <a href="#">Fellows</a> <span class="line">|</span> <a
href="#">Partners</a> </div>
  <div class="col-sm-2">
    <div class="pull-right"> <span  class="pull-left m-r-10"><a href="#" target="_blank"><span class="icon-social"> </span></a> </span> <span  class="pull-left m-r-10"> <a href="#" target="_blank" ><span
class="icon-twitter"></span></a></span> <span  class="pull-left m-r-10"><a href="#" target="_blank" ><span class="icon-youtube"></span></a></span> <span  class="pull-left"><a href="#" target="_blank" ><span
class="icon-google"></span></a></span> </div>
  </div>
</div>
</div>
<!--footer html section ends here-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
 
</body>
</html>