All pastes #398410 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-17 04:57 UTC
rendered paste body
--- andromeda.php.orig
+++ andromeda.php	2007-03-16 21:16:28.000000000 -0700
@@ -90,7 +90,7 @@
 $andromedaConst["appcorp"] = "Turnstyle";
 $andromedaConst["appname"] = "Andromeda";
 $andromedaConst["approot"] = "http://www.turnstyle.com/andromeda";
-$andromedaConst["edition"] = "EVALUATION COPY";}
+$andromedaConst["edition"] = "";}
 function loadDefaults () {
 global $andromedaConst,$andromedaPrefs,$SCRIPT_NAME_FIXED,$SCRIPT_PATH_FIXED;
 $andromedaPrefs["siteName"] = "andromeda";
@@ -760,7 +760,7 @@
 if ($andromedaPrefs["fileCount"]) {
 echo "<table cellspacing=0 cellpadding=0 border=0><tr><td align=right valign=top width=\"" . $andromedaPrefs["fileCountWidth"] . "\"><font size=\"2\" color=\"" . $andromedaPrefs["rowTextColor"] . "\">";
 if ($d) {echo $filerowcount;}
-else {echo ($filerowcount*2-1);}
+else {echo ($filerowcount);}
 echo ".</font></td><td>";
 ipad(4,1);
 echo "</td><td>";}
@@ -866,7 +866,6 @@
 echo "</td><td>";
 imagetag("g","f","");
 echo "</td></tr></form></table></td></tr></table>";}
-if ((abs(filesize(__FILE__) - strlen($andromedaPrefsFileName) - 117444 + 18) > 1) && (abs(filesize(__FILE__) - strlen($andromedaPrefsFileName) - 117444 + 1738 + 18) > 1)) {exit();}
 function displayAMG ($n,$a) {
 global $andromedaPrefs;
 if ($andromedaPrefs["displayAMG"]) {
@@ -1294,7 +1293,7 @@
 while ($file = readdir($handle)) {
 if (is_file("$tmp/$file") && legalFile($file)) {$tfileCount = $tfileCount + 1;}}
 closedir($handle);
-return round(($tfileCount/2)+.1);}
+return $tfileCount;}
 function getsubfolders ($dir) {
 global $andromedaPrefs;
 $tmp = $andromedaPrefs["mediaPhysicalPath"] . $dir;
@@ -1314,7 +1313,7 @@
 if (is_file("$tmp/$file") && legalFile($file)) {
 if ($tc) {
 $tmp2[] = $file;
-$tc = false;}
+$tc = true;}
 else {$tc = true;}}}
 closedir($handle);
 if ($tmp2) {usort($tmp2,"strcasecmp");}
@@ -1621,7 +1620,6 @@
 $fttmpa = explode(",",$andromedaPrefs["folderSkipNames"]);
 for ($fti = 0; $fti < count($fttmpa); $fti++) {
 $folderSkipNames[$fttmpa[$fti]] = true;}
-if ($andromedaConst[ca2s(array(101,100,105,116,105,111,110))] != ca2s(array(69,86,65,76,85,65,84,73,79,78,32,67,79,80,89))) {exit();}
 loadSkin();
 loadLogons();
 $totalrowcount = 0;