Example #1
0
$row = mysql_fetch_array($sql_result);
//Page Titles
$pagetitles = array("releases" => "All Releases", "previews" => "Preview Images", "comments" => "User Comments", "staffreview" => "Editor Review", "opinion" => " My Opinion");
$pagetitle = $pagetitles[$_GET["page"]];
?>

    <title>Mozilla Update :: Extensions -- More Info: <?php 
echo "{$row['Name']}";
if ($pagetitle) {
    echo " - {$pagetitle}";
}
?>
</title>

    <?php 
installtrigger("extensions");
include "{$page_header}";
?>

<div id="mBody">

<?php 
$type = "E";
$index = yes;
$category = $_GET["category"];
include "inc_sidebar.php";
?>

<?php 
$id = escape_string($_GET["id"]);
//Get Author Data
Example #2
0
$row = mysql_fetch_array($sql_result);
//Page Titles
$pagetitles = array("releases" => "All Releases", "previews" => "Preview Images", "comments" => "User Comments", "staffreview" => "Editor Review", "opinion" => " My Opinion");
$pagetitle = $pagetitles[$_GET["page"]];
?>

    <title>Mozilla Update :: Themes -- More Info: <?php 
echo "{$row['Name']}";
if ($pagetitle) {
    echo " - {$pagetitle}";
}
?>
</title>

    <?php 
installtrigger("themes");
include "{$page_header}";
?>

<div id="mBody">

<?php 
$type = "T";
$index = yes;
$category = $_GET["category"];
include "inc_sidebar.php";
$id = escape_string($_GET["id"]);
//Get Author Data
$sql2 = "SELECT  TM.Name, TU.UserName, TU.UserID, TU.UserEmail \n        FROM  `main`  TM \n        LEFT JOIN authorxref TAX ON TM.ID = TAX.ID\n        INNER JOIN userprofiles TU ON TAX.UserID = TU.UserID\n        WHERE TM.ID = '{$id}'\n        ORDER  BY  `Type` , `Name`  ASC ";
$sql_result2 = mysql_query($sql2, $connection) or trigger_error("MySQL Error " . mysql_errno() . ": " . mysql_error() . "", E_USER_NOTICE);
while ($row2 = mysql_fetch_array($sql_result2)) {