( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php if ($page ==0 || empty($page) ){ include("profileStartag.php");}?>
<?php while ( list($key,$val)=each($result) ) {
$msg_id = stripslashes($val["msg_id"]);
$catalogid = stripslashes($val["catalogid"]);
$msg_id = stripslashes($val["newsid"]);
$ratenum = stripslashes($val["ratenum"]);
$title = stripslashes($val["title"]);
$picture = stripslashes($val["picture"]);
$viewnum = stripslashes($val["viewnum"]);
if(empty($viewnum)){ $viewnum = 0;}
$isdisplay = stripslashes($val["isdisplay"]);
$description = stripslashes($val["description"]);
$adddate = stripslashes($val["adddate"]);
$content = stripslashes($val["content"]);
$type = stripslashes($val["isdisplay"]);
$def = stripslashes($val["def"]);
$adddate = stripslashes($val["adddate"]);
$description = stripslashes($val["description"]);
if ($isdisplay ==7 ){ $thumb ="thumbs/";} else {$thumb ="startags/";}
?>
<?php $msg_id = $db->base64url_encode($msg_id); ?>
<li class="list-group-item<?php if ($isdisplay ==3 ){ ?> bg-light dkr <?php } ?><?php if ($isdisplay ==5 ){ ?> bg-light lter <?php } ?><?php if ($isdisplay ==4 ){ ?> <?php } ?>">
<table width="100%" cellspacing="0" cellpadding="0">
<tr >
<td width="64" valign="middle"> <?php if ($isdisplay =="9"){ $thumb = "gthumbs/";?>
<a title="Make Default" class=" pull-right " href="indexAlone.php?mode=startags&pager=<?php echo $_GET["page"] ?>&msg_id=<?php print "$msg_id"; ?>&catid=<?php print "$catid"; ?>&default=yes&where=photo">
<img src="<?php echo $siteaddress;?>taswira.php?width=100&height=60&nocache=1&cropratio=1.666666666666667:1&image=/v/uploads/<?php echo $thumb ?><?php print "$picture"; ?>" alt="edit thumb" title="Published: <?php echo $adddate ?>" id="<?php print "$picture"; ?>" rel="<?php print "$title"; ?>" width="100" height="60" style=" margin-left:2px;"/></a>
<?php }?>
<?php
if ($isdisplay =="3" ||$isdisplay =="4" ||$isdisplay =="5" ||$isdisplay =="6" ||$isdisplay =="7" ||$isdisplay =="12" || $isdisplay =="8" || $isdisplay =="13" )
{?>
<img src="<?php echo $siteaddress;?>taswira.php?width=100&height=60&nocache=1&cropratio=1.666666666666667:1&image=/v/uploads/<?php echo $thumb ?><?php print "$picture"; ?>" alt="edit thumb" title="Published: <?php echo $adddate ?>" width="100" height="60" style=" margin-left:2px;"/>
<?php }
?>
</td>
<td width="100%" valign="middle" style="font-size:16px" >
<?php $title2 = $db->base64url_encode($title); ?>
<?php if ($isdisplay =="7" || $isdisplay =="12" || $isdisplay =="13" || $isdisplay =="9"){ ?>
<a class="label label-default <?php if ($isdisplay =="12" || $isdisplay =="13") {?>label-primary<?php } ?> m-l-lg <?php if ($def ==1 ){ ?>label-danger <?php } ?>"><i class="icon-asterisk text-white"></i><span class="text-white"><?php print text_limit($title,30); ?></span></a>
<?php }
else { ?>
<a class="label bg-dark m-l-lg "><i class="icon-asterisk text"></i> <span class="text"><?php print text_limit($title,50); ?></span> </a>
<?php }
?>
<?php if ($isdisplay =="13"){ ?>
<a title="Make Default" class="m-r btn btn-white pull-right " href="?mode=elements&msg_id=<?php echo $msg_id ?>&category=alert-success&step=0&action=filter"> <span class="text"> <i class="icon-edit"></i> </span> </a>
<?php }
?>
</td>
<td width="30">
<a title="Make Default" class="btn btn-white pull-right m-r" href="indexAlone.php?mode=startags&msg_id=<?php print "$msg_id"; ?>&catid=<?php print "$catid"; ?>&delnews=yes&where=photo"> <span class="text"> <i class="icon-trash <?php if ($isdisplay ==3 || $isdisplay ==11 || $isdisplay ==10){ ?> text-info<?php } ?>"></i> </span> </a>
</td>
<td width="200" align="left" style="padding-left:2px">
<?php if ($isdisplay =="13"){ ?>
<a title="Make Default" class=" btn btn-white pull-right " href="indexAlone.php?mode=startags&pager=<?php echo $pager ?>&msg_id=<?php echo $msg_id ?>&catid=&default=yes&where=photo"> <span class="text"> <i class="icon-eye-open"></i> Choose </span> </a>
<?php }
?>
<?php if ($isdisplay =="3"){ ?>
<a title="Make Default" class=" btn btn-white pull-right " href="indexAlone.php?mode=cropstar&action=filter&msg_id=<?php echo $msg_id ?>"> <span class="text"> <i class="icon-crop"></i> Crop </span> </a>
<?php }
?>
<?php if ($isdisplay =="4"){ ?>
<a href="indexAlone.php?mode=updateStartag&msg_id=<?php echo $msg_id ?>&step=0&action=filter" class="btn btn-light btn-lg no-borders "><i class="icon-magic icon-lg text-warning"></i> Theme </a>
<?php }
?>
<?php if ($isdisplay =="5"){ ?>
<a href="indexAlone.php?mode=updateStartag&msg_id=<?php echo $msg_id ?>&step=0&action=filter&fx=<?php echo $msg_id ?>" class="btn btn-light btn-lg no-borders "><i class="icon-bolt icon-lg text-info"></i> <?php if ($isdisplay ==5){ ?> Add Effects <?php } ?> </a>
<?php }
?> <?php if ($isdisplay =="6"){ ?>
<a href="indexAlone.php?mode=cropstar&action=filter&msg_id=<?php echo $msg_id ?>&fix=<?php echo $msg_id ?>" class="btn btn-light btn-lg no-borders "><i class="icon-wrench icon-lg text-danger"></i> <?php if ($isdisplay ==6){ ?> Fix Photo <?php } ?> </a>
<?php } ?>
<?php if ($isdisplay =="7" || $isdisplay =="9"){ ?>
<a title="Make Default" class="btn btn-white pull-right " href="indexAlone.php?mode=startags&pager=<?php echo $_GET["page"] ?>&msg_id=<?php print "$msg_id"; ?>&catid=<?php print "$catid"; ?>&default=yes&where=photo"> <span class="text"> <i class="icon-eye-open "></i> Choose </span> </a>
<?php }
?>
<?php if ($isdisplay =="12"){ ?>
<a title="Make Default" class="btn btn-white pull-right " href="indexAlone.php?mode=elements&msg_id=<?php print "$msg_id"; ?>&category=alert-success&step=0&action=filter"> <span class="text"> <i class="icon-edit "></i> Design theme </span> </a>
<?php }
?>
</td>
<a style="" href="indexAlone.php?mode=updateStartag&msg_id=<?php print "$msg_id"; ?>&step=0&action=filter"> <i class="icon-pencil text-black <?php if ($isdisplay ==3 || $isdisplay ==11 || $isdisplay ==10){ ?> text-white<?php } ?> "></i></a>
</tr></table>
</li>
<?php
}?>