//
// Alternatively, the contents of this file may be used under the terms of
// either the GNU General Public License Version 2 or later (the "GPL"), or
// the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
// in which case the provisions of the GPL or the LGPL are applicable instead
// of those above. If you wish to allow use of your version of this file only
// under the terms of either the GPL or the LGPL, and not to allow others to
// use your version of this file under the terms of the MPL, indicate your
// decision by deleting the provisions above and replace them with the notice
// and other provisions required by the GPL or the LGPL. If you do not delete
// the provisions above, a recipient may use your version of this file under
// the terms of any one of the MPL, the GPL or the LGPL.
//
// ***** END LICENSE BLOCK *****
?>
"All Releases", "comments"=>"User Comments", "staffreview"=>"Editor Review", "opinion"=>" My Opinion");
$pagetitle = $pagetitles[$_GET["page"]];
?>
Mozilla Update :: Themes -- More Info:
$dateadded) {$dateadded = $VerDateAdded; }
if ($VerDateUpdated > $dateupdated) {$dateupdated = $VerDateUpdated; }
//Turn Authors Array into readable string...
$authorcount = count($authors);
foreach ($authors as $author) {
$userid = $authorids[$author];
$n++;
$authorstring .= "$author";
if ($authorcount != $n) {$authorstring .=", "; }
}
$authors = $authorstring;
unset($authorstring, $n); // Clear used Vars..
if ($dateupdated > $dateadded) {
$timestamp = $dateupdated;
$datetitle = "Last Update: ";
} else {
$timestamp = $dateadded;
$datetitle = "Added on: ";
}
$date = date("F d, Y g:i:sa", strtotime("$timestamp"));
$datestring = "$datetitle $date";
//Rating
if (!$rating) { $rating="0"; }
?>
";
echo" ";
if ($application=="thunderbird") {
echo"Theme Install Instructions for Thunderbird Users: (1) Click the link above to Download and save the file to your hard disk.
(2) In Mozilla Thunderbird, open the theme manager (Tools Menu/Themes)
(3) Click the Install button, and locate/select the file you downloaded and click \"OK\"
";
}
if ($homepage) {echo"Having a problem with this theme? For Help and Technical Support, visit the Theme's Homepage.";}
echo"
\n";
$sql = "SELECT TR.ID, `Title`, TR.DateAdded, `Body`, `Type`, `Pick`, TU.UserName FROM `t_reviews` TR
INNER JOIN t_main TM ON TR.ID = TM.ID
INNER JOIN t_userprofiles TU ON TR.AuthorID = TU.UserID
WHERE `Type` = 'E' AND TR.ID = '$_GET[id]' ORDER BY `rID` DESC LIMIT 1";
$sql_result = mysql_query($sql, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE);
$num_results = mysql_num_rows($sql_result);
while ($row = mysql_fetch_array($sql_result)) {
$id = $row["ID"];
$title = $row["Title"];
$dateadded = $row["DateAdded"];
$body = $row["Body"];
$pick = $row["Pick"];
$username = $row["UserName"];
//Create Customizeable Timestamp
$timestamp = strtotime("$dateadded");
$date = gmdate("F, Y", $timestamp);
$posteddate = date("F j Y, g:i:sa", $timestamp);
echo"$title \n";
if ($pick=="YES") {echo" $date Editors Pick \n"; }
echo" \n";
echo"$body \n";
echo"\n";
}
$typename = "extension";
if ($num_results=="0") {
echo"
This $typename has not yet been reviewed.
To see what other users think of this theme, view the User Comments...
";
}
echo"
\n";
} else if ($page=="opinion") {
//My Opinion Tab
echo"
Your opinion of $name:
";
?>
\n
Your comment submission had the following error(s), please fix these errors and try again. \n
Rating cannot be left blank. \n
Review/Comments cannot be left blank. \n
\n";
}
?>
User Comments:
"; echo"$commenttitle
"; echo""; for ($i = 1; $i <= $rating; $i++) { echo""; } for ($i = $i; $i <= 5; $i++) { echo""; } echo""; //echo"