예제 #1
0
        <div class="row">
            <div class="col-sm-12">
                <ul class="blog_archieve">
                <?php 
$result = getArchive($con);
while ($data = mysqli_fetch_assoc($result)) {
    ?>
                    <li>
                        <a href="#">
                            <i class="fa fa-angle-double-right"></i> 
                            <?php 
    echo $data['bulan'];
    ?>
 
                            <span class="pull-right">(<?php 
    echo countPost($con, $data['bulan']);
    ?>
)</span>
                        </a>
                    </li>
                <?php 
}
?>
                </ul>
            </div>
        </div>                     
    </div><!--/.archieve-->
    
    <div class="widget tags">
        <h3>Tag Cloud</h3>
        <ul class="tag-cloud">
예제 #2
0
 					<div class="thumbnail-header">
						<span class="cat_header">Overview</span> 
					</div>
					<img alt="overview" title="Graphical Overview Coming Soon" src="img/chart_sample.jpg" style="width: 100%; height: 100%">
			</div>
		</div>
		<div class="row">
			<div class="span12">				
 					<div class="thumbnail-header">
						<span class="cat_header">My Posts</span> 
					</div>
					<table class="category_table" cellpadding="10" cellspacing="0">   
					<?php 
$post = getUserPost($uid);
$counter = 4;
if (countPost($uid) < 1) {
    echo "<center><h3>No post found!</h3><h2><small>Millions of buyers are waiting for you.</small></h2>\n\t\t\t\t\t\t\t<a class=\"btn btn-success\" href=\"post.php\" title=\"Sell your product\" >Post New Ad</a>\n\t\t\t\t\t\t\t</center>";
}
while ($row = mysqli_fetch_array($post)) {
    $title = substr($row['Post_title'], 0, 35);
    if (strlen($row['Post_title']) > 35) {
        $title = $title . "...";
    }
    if ($counter == 4) {
        echo "<tr>";
    }
    ?>
  
			            <td width="20%" valign="top">

			            	<div class="category_thumbnail">
예제 #3
0
                                            </thead>
                                            <tbody>
                                                <tr>
                                                    <td><b>Followers</b></td>
                                                    <td>
                                                    <a href="#" class="ng-binding">
                                                        <?php 
echo countFollowers($actID);
?>
                                                    </a></td>
                                                </tr>
                                                <tr>
                                                    <td><b>Total Posts</b></td>
                                                    <td class="ng-binding">
                                                    <a data-toggle="tab" href="#user-activities"><?php 
echo countPost($actID);
?>
</a>
													</td>
                                                </tr>
                                                <tr>
                                                    <td><b>Date Created</b></td>
                                                    <td class="ng-binding">05/14/2014</td>
                                                </tr>
                                                <tr>
                                                    <td><b>Location</b></td>
                                                    <td>
                                                    <a href="" class="ng-binding">
                                                        City Name
                                                    </a></td>
                                                </tr>