session_start();
include '../db_inc.php';
$_SESSION["link"] = "newsletter.php";
?>
Hong Kong Air Cadet Corps
|
$sql = mysql_query("SELECT * FROM newsletter ORDER BY sorting DESC");
$least_id = "";
$content = "";
$check = 0;
if(mysql_num_rows($sql) > 0){
while($row = mysql_fetch_array($sql)){
if($least_id == ""){
$least_id = ' |
|
Latest
| ';
}
if(!$_GET['id']){
$content = $row['photo'];
$_GET['id'] = $row['id'];
$file_link = $row['file'];
$letter_name = "Latest - ".$row['name'];
}elseif($_GET['id'] == $row['id']){
$content = $row['photo'];
$file_link = $row['file'];
$letter_name = $row['name'];
if($check == 0)$letter_name = "Latest - ".$row['name'];
}
if($check != 0){
$list_name .= '
|
'.$row['name'].' |
';
}
$check = 1;
}
}
?>
|
|
include_once("include_link_3.php"); ?> |