コード例 #1
0
ファイル: footer.tpl.php プロジェクト: liulingfu/madserve
    if (get_total_open_tr() > 0) {
        echo '<span class="alert">' . get_total_open_tr() . '</span>	';
    }
    ?>
					

				<div id="menuAmpersand" class="menu-container quickNavConfirm">
					<div class="menu-content cf">							
						
						<div class="qnc qnc_confirm">
							
							<h3>Live Traffic Requests - Ad Networks</h3>
                            
                            <?php 
    if (get_total_open_tr() > 0) {
        get_traffic_requests('widget');
        echo '<a href="traffic_requests.php" class="qnc_more">View all Traffic Requests</a>';
    } else {
        echo '<div style="margin-top:10px;" align="center">No New Traffic Requests - <a href="traffic_requests.php">View All</a></div>';
    }
    ?>
					
							
							
							
							
	
							
							
															
						</div> <!-- .qnc -->	
コード例 #2
0
							<table class="table table-bordered table-striped">
						<thead>
							<tr>
								<th>ID</th>
								<th><div align="center">Network</div></th>
								<th><div align="center">Status</div></th>
								<th><div align="center">Targeting</div></th>
								<th><div align="center">Rate</div></th>
								<th><div align="center">Duration</div></th>
								<th><div align="center">Date</div></th>
								<th>Actions</th>
							</tr>
						</thead>
						<tbody>
<?php 
get_traffic_requests('list');
?>
					
</tbody>
					</table>
		        </div> 
						<!-- .widget-content -->
					
				</div> <!-- .widget -->
					
					<!-- .actions -->