Exemplo n.º 1
0
 : </strong>
                                        <?php 
if ($games['status'] == 0) {
    echo "Inactive";
} else {
    echo "Active";
}
?>
					                </div>
					            </div>

					            <div class="col-md-11" style="margin-left: 4%">
					                <div class="show-fontsize alert alert-success">
					                 	<strong>Tag : </strong>
                                        <?php 
$rs = get_tag_by_id($gid);
if (mysqli_num_rows($rs) > 0) {
    while ($array_tag = mysqli_fetch_array($rs, MYSQLI_ASSOC)) {
        $tags = $array_tag['keyword'];
        echo $tags;
    }
}
?>
					                </div>
					            </div>

                            	<div class="col-md-11">
                            		<center>
                            			<div class="alert alert-default">
                                            <input type="button" class="btncustom btn btn-success" onclick="window.location='edit_game.php?gid=<?php 
echo $gid;
Exemplo n.º 2
0
    echo $lang['FRONT_VIDEO_POST_BY'];
    ?>
<a href="#"><?php 
    echo $news['name'];
    ?>
</a> in <a href="#"><?php 
    echo $news['type_name'];
    ?>
</a></p>
                        <p class="sed"><?php 
    echo $news['content'];
    ?>
</p>
                        <b>Tag:</b>
                        <?php 
    $rs = get_tag_by_id($nid);
    if (mysqli_num_rows($rs) > 0) {
        while ($array_tag = mysqli_fetch_array($rs, MYSQLI_ASSOC)) {
            $tags = $array_tag['keyword'];
            ?>
                        <a class="fast" href="result.php?keyword=<?php 
            echo $tags;
            ?>
"><?php 
            echo $tags;
            ?>
</a>,
			            <?php 
        }
    }
    ?>