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.141.7.130 | |
Server Type : unknown | Website : ?? Domains | |
Safe Mode: OFF | |
Disable Functions:NONE | |
Server Software: LiteSpeed [Exploit DB] | |
Directory : /home2/conflictreader/public_html/ | |
Filename : newsline.php [ view ] [ edit ] [ rename ] [ download ] [ delete ]
<?php
require('includes/application_top.php');
?>
<? include('header.php');?>
<style type="text/css">
a.nounderline: link
(
Text-decoration: none;
)
</ style>
<style type="text/css">
a.nounderline:link
{
text-decoration:none;
}
</style>
<style>
.normal {
text-transform: none;
}
</style>
<link rel="shortcut icon" href="images/favicon.ico" />
<!--menu html start here-->
<!--banner html start here-->
<!-- Carousel
================================================== -->
<style type="text/css">
<!--
.style1 {
color: #eb3106;
font-weight: bold;
}
.style2 {color: #fc0006}
.style3 {
color: #fc0006;
font-weight: bold;
}
.style4 {
color: #fc0006;
font-weight: bold;
}
-->
</style>
<div id="myCarousel" class="carousel slide conflict-wraper">
<!--<div class="container">
<div class="top-heading-stripe">
Global Politics
</div>
</div>-->
</div>
<div class="container-fluid conflict-wraper">
<div class="container">
<div class="row clearfix cr-left-block-wrap">
<div class="col-sm-12">
<div class="row clearfix m-b-20">
<p class="headin-h3">CR Newsline</p>
<? $sql_articles_pb="select * from tbl_newsline order by recNo desc ";
$result_articles_pb= mysql_query($sql_articles_pb) ;
$data_array=array();
while ($row = mysql_fetch_array($result_articles_pb, MYSQL_ASSOC))
{
array_push($data_array,$row);
}
?>
<?
$length = count($data_array);
//echo $length ;
$x = 0;
$counter = 0;
for($i=0;$i<$length ;$i++)
{
$reportTitle=$data_array[$i][reportTitle];
$type1 =$data_array[$i][type1];
$newsPaperDate=$data_array[$i][newsPaperDate];
$newsPaperName=$data_array[$i][newsPaperName];
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;}
$counter++;
?>
<? if($counter==6){ ?><div class="row clearfix m-b-15"><? } ?>
<div class="col-sm-2 clearfix three-col-block">
<div class="clearfix"> </div>
<div class="clearfix m-b-15"> <a href="<?=$type1?>" target="_blank" style="text-decoration:none"><h5> <?=$reportTitle?></h5></a>
<p class="naming-heading"><?=$newsPaperName?> <br>
<?=getdateformat($newsPaperDate)?> </p>
</div>
</div>
<? if($counter==6){ ?> <hr/></div><? $counter=0; } ?>
<? } ?>
</div>
</div>
</div>
</div>
<? include('footer.php');?>
</body>
</html>