kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
gpplenergy.com
/
includes
/
Upload FileeE
HOME
<div style="min-height:300px;"> <?php //echo $res['NO_OF_ITEMS']; if($notice_res['NO_OF_ITEMS']>0) { $title = outText($notice_res['oDATA'][0]['title']); $publish_date = outText($notice_res['oDATA'][0]['publish_date']); $description = outText($notice_res['oDATA'][0]['description']); ?> <h1 class="homegray1"><?=$title?></h1> <hr size="1px" color="#CCCCCC" /> <div align="justify"> <?php if($description!=""){ echo $description; }else{ echo " "; } ?> </div> <div style="float:right; padding:5px;"><a href="<?=SITE_HOME?>notice-board.php" class="newslinkk" title="Back"><img src="<?=SITE_HOME?>images/back.jpg" border="0"/></a></div> <?php }else{ $res = $noticeObj->getAllActNotices(); $total = $res['NO_OF_ITEMS']; //echo $total; if($total>0) { ?> <h1 class="homegray1">Notice Board </h1> <hr size="1px" color="#CCCCCC" /> <ul class="list03"> <?php for($i=0;$i<$total;$i++){ $id = ($res['oDATA'][$i]['id']); $type = outText($res['oDATA'][$i]['type']); $title = outText($res['oDATA'][$i]['title']); $url = outText($res['oDATA'][$i]['url']); $publish_date = outText($res['oDATA'][$i]['publish_date']); $pdate=date("d-m-Y",strtotime($publish_date)); $link = ($res['oDATA'][$i]['link']); $file_name = ($res['oDATA'][$i]['file_name']); $new = $res['oDATA'][$i]['new']; ?> <?php if($type == 2){?><li><a href="<?=$link?>" target="_blank"><?=$title?></a> <?php if($new ==1){?><img src="<?=SITE_HOME?>images/new.gif" border="0" align="absmiddle"/><?php }?> </li><?php }?> <?php if($type == 1){?><li> <a href="<?=SITE_HOME?>notices-file/<?=$file_name?>" target="_blank"><?=$title?></a> <?php if($new ==1){?><img src="<?=SITE_HOME?>images/new.gif" border="0" align="absmiddle"/><?php }?> </li><?php }?> <?php if($type == 0){?><li><a href="notice-board.php?notice=<?php print $url; ?>"><?=$title?></a> <?php if($new ==1){?><img src="<?=SITE_HOME?>images/new.gif" border="0" align="absmiddle"/><?php }?> </li><?php }?> <?php }?> </ul> <?php } }?> </div>