Location: PHPKode > projects > Coxiar Media Platform > coxiar_productions/cpanel/list_stills.php
<?php
set_time_limit(0);
session_start();
include("../db.php");
if(isset($_SESSION['logged_in']) != true) 	exit; 
?>
<html>
<head>
<style type="text/css">
<!--
body {
	background-color: black;
}
h1{
font-size:20px;
font-family:Arial, Helvetica, sans-serif;
}
div, td, tr, table, p{
font-size:10px;
font-family:Arial, Helvetica, sans-serif;
color:white;
}
a:link {
	color:white;
	text-decoration: underline;
}
a:visited {
	color:white;
	text-decoration: underline;
}
a:hover {
	text-decoration: underline;
	color:white;
}
a:active {
	text-decoration: underline;
	color:white;
}
input{

font-size:10px;
font-family:Tahoma;

-->
</style>
</head>
<body>
<br>

<form name="DataEntry" method="post" action="<?=$_SERVER['PHP_SELF']?>" enctype="multipart/form-data">
  <input type="hidden" name="TheFunction" value="1">
  <p>&nbsp;</p>
  <div align="center">
<img src="../images/pizza_dude.php?text=<?= urlencode('Select a still to modify') ?>&font_size=18">
<table cellpadding=25>
<?php
	$catid = (isset($_GET['category_id'])) ? $_GET['category_id'] : '0';
	$sql = 'Select * from `stills`';

	$result = mysql_query($sql);
	$i = 0;
	echo "<tr>\r\n";
	while($row = mysql_fetch_assoc($result)){
		if($i == 3){
			echo "</tr>\r\n<tr>\r\n";
			$i = 0;
		}	
			echo '<td align="center"><a href="modify_still.php?still_id='.$row['still_id'].'"><img src="../stills/thumbnail.php?still_id='.$row['still_id'].'" border=0><br><br><img src="../images/pizza_dude.php?text='.urlencode($row['still_title1']).'&font_size=15" border=0></td>'."\r\n";
		
		

	$i++;
	}
	echo "</tr>\r\n";
?>
</table>
  </div>
  <p align="center">&nbsp;</p>
</form>
</body>
</html>
Return current item: Coxiar Media Platform