// // 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: <?php echo"$row[Name]"; if ($pagetitle) {echo" - $pagetitle"; } ?> $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"; } ?>

Extensions »

">More Info | ">All Releases | ">Comments | ">Editor Review | ">My Opinion \n"; if ($previewuri) { list($width, $height, $type, $attr) = getimagesize("$websitepath"."$previewuri"); echo"
\n"; echo"\"$name\n"; echo"
\n"; } echo"
"; echo"$name $version
"; echo"By $authors"; echo"
"; //Description & Version Notes echo"$description
\n"; if ($notes) {echo"
\n$notes
"; } echo"
\n"; $page = $_GET["page"]; if (!$page or $page=="general") { ?>
0) { $time .= "$time_minutes minutes "; } $time .="$time_seconds seconds"; echo" Released on $verdateadded
"; if ($appname=="Thunderbird") { echo"\"\" ( Download Now )
"; } else { echo"\"\" ( Install Now )
"; } echo"   $filesize KB, ($time @ $speed"."k)
"; //Icon Bar Modules echo"
"; echo"
\"\" For $appname:
  $minappver - $maxappver
"; if($osname !=="ALL") { echo"
\"\"For $osname
only
"; } if ($homepage) {echo"";} echo""; echo"
"; 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"

User Comments:

"; echo"

$commenttitle

"; echo""; for ($i = 1; $i <= $rating; $i++) { echo"\"*\""; } for ($i = $i; $i <= 5; $i++) { echo"\"\""; } echo""; //echo"
"; echo"  By $commentname
\n"; echo" 
\n"; echo"$commentnotes
\n\n"; echo" 
\n"; echo"
\n"; echo"$commentdate | More Comments... | Rate It!\n"; echo"
\n"; } if ($num_results=="0") { echo"
"; echo"Nobody's Commented on this Extension Yet
"; echo"Be the First! Rate It!"; echo"
"; } ?> $datestring | Total Downloads: $downloadcount"; if ($populardownloads > 5 ) {echo" | Downloads this Week: $populardownloads";} echo"\n"; ?> All Releases"; $sql = "SELECT TV.vID, TV.Version, TV.MinAppVer, TV.MaxAppVer, TV.Size, TV.URI, TV.Notes, TA.AppName, TOS.OSName FROM `t_version` TV INNER JOIN t_applications TA ON TV.AppID = TA.AppID INNER JOIN t_os TOS ON TV.OSID = TOS.OSID WHERE TV.ID = '$_GET[id]' AND `approved` = 'YES' AND TA.AppName = '$application' ORDER BY `Version` DESC, `OSName` ASC LIMIT 0, 10"; $sql_result = mysql_query($sql, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); while ($row = mysql_fetch_array($sql_result)) { $vid = $row["vID"]; if ($appvernames[$row["MinAppVer"]]) {$minappver = $appvernames[$row["MinAppVer"]]; } else { $minappver = $row["MinAppVer"]; } if ($appvernames[$row["MaxAppVer"]]) {$maxappver = $appvernames[$row["MaxAppVer"]]; } else { $maxappver = $row["MaxAppVer"]; } $filesize = $row["Size"]; $notes = $row["Notes"]; $version = $row["Version"]; $uri = $row["URI"]; $osname = $row["OSName"]; $appname = $row["AppName"]; echo"
"; //Open Version DIV //Description & Version Notes echo"

Version $version

\n"; if ($notes) {echo"$notes

\n"; } //Icon Bar Modules echo"
"; echo"
"; echo"\"\"Install
Size: $filesize kb
"; echo"
\"\" For $appname:
  $minappver - $maxappver
"; if($osname !=="ALL") { echo"
\"\"For $osname
only
"; } echo"

\n"; echo"
"; } //End General Page } else if ($page=="comments") { //Comments/Ratings Page echo"

User Comments:

"; $sql = "SELECT CommentName, CommentTitle, CommentNote, CommentDate, CommentVote FROM `t_feedback` WHERE ID = '$_GET[id]' AND CommentNote IS NOT NULL ORDER BY `CommentDate` DESC"; $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)) { $name = $row["CommentName"]; $title = $row["CommentTitle"]; $notes = $row["CommentNote"]; $date = date("l, F j Y", strtotime($row["CommentDate"])); $rating = $row["CommentVote"]; echo"

$title

"; echo"  Posted on $date by $name
"; echo"$notes
\n\n"; echo"
\"\"Rated
  $rating of 5


"; } if ($num_results=="0") { echo"
"; echo"Nobody has commented on this extension yet...
Be the First! Leave your comments..."; echo"
\n"; } echo"
"; } else if ($page=="staffreview") { //Staff/Editor Review Tab echo"

Editor Review:

"; 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"
Posted on $posteddate by $username
\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"; } ?>
"> "> Your Name:

Rating:*

Title:

Review/Comments:*

  
* Required Fields
\n"; echo"
\n"; ?>