Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.
My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 |
diff -r -w pixelpost_v1.7.2/ReadMe.txt pixelpost_v1.7.3/ReadMe.txt
< Pixelpost version 1.7.2
> Pixelpost version 1.7.3
diff -r -w pixelpost_v1.7.2/addons/copy_folder.php pixelpost_v1.7.3/addons/copy_folder.php
<
< for ($k=0;$k<count($files);$k++)
> foreach($files as $k => $file)
< $file = $files[$k];
<
> $file = $files[$k];
< Enter the absolute path to folder:<br /><br />
> Enter the relative path to the folder:<br /><br />
diff -r -w pixelpost_v1.7.2/addons/paged_archive.php pixelpost_v1.7.3/addons/paged_archive.php
< { // archive date is available
< $archivedate_start = $_GET['archivedate'] ."-01 00:00:00";
< $archivedate_end = $_GET['archivedate'] ."-31 23:59:59";
> { // archive date is available.
> $archivedate = preg_replace('/[^0-9\-]/', '', $_GET['archivedate']);
> $archivedate_start = $archivedate ."-01 00:00:00";
> $archivedate_end = $archivedate ."-31 23:59:59";
< $archivedate_start = mysql_real_escape_string($_GET['archivedate']) ."-01 00:00:00";
< $archivedate_end = mysql_real_escape_string($_GET['archivedate']) ."-31 23:59:59";
> $archivedate = preg_replace('/[^0-9\-]/', '', $_GET['archivedate']);
> $archivedate_start = mysql_real_escape_string($archivedate) ."-01 00:00:00";
> $archivedate_end = mysql_real_escape_string($archivedate) ."-31 23:59:59";
< $archivedate=$_GET['archivedate'];
> $archivedate = preg_replace('/[^0-9\-]/', '', $_GET['archivedate']);
diff -r -w pixelpost_v1.7.2/admin/images_edit.php pixelpost_v1.7.3/admin/images_edit.php
< $values[1] = '('.(int)$idz[$i].', "'.$tags_arr[$y].'", "")';
> $values[1] = '('.(int)$idz[$x].', "'.$tags_arr[$y].'", "")';
< $values[1] = '('.(int)$idz[$i].', "", "'.$tags_arr[$y].'")';
> $values[1] = '('.(int)$idz[$x].', "", "'.$tags_arr[$y].'")';
< if ($_SESSION['numimg_pp'] == 0) $_SESSION['numimg_pp'] = 10;
> if (isset($_SESSION['numimg_pp']) AND $_SESSION['numimg_pp'] == 0 OR !isset($_SESSION['numimg_pp'])) $_SESSION['numimg_pp'] = 10;
< $image_page_Links .= "<a href='index.php?view=images&page=$pagecounter$getfstring'>".($_GET['page']==$pagecounter?'<b>'.$pcntr.'</b>':$pcntr)."</a> ";
> $page_num = ($page == $pagecounter) ? "<strong>$pcntr</strong>" : $pcntr;
> $image_page_Links .= "<a href='index.php?view=images&page=$pagecounter$getfstring'>$page_num</a> ";
< $category = $imagerow['category'];
< $category = explode(",",$category);
> // fetch the categories
> $category = array();
>
> $query = mysql_query("SELECT `cat_id` FROM " . $pixelpost_db_prefix . "catassoc where image_id='$getid'");
> while(list($cat_id) = mysql_fetch_row($query))
> {
> $category[] = $cat_id;
> }
< category_list_as_table(array(), $cfgrow);
> category_list_as_table($category, $cfgrow);
diff -r -w pixelpost_v1.7.2/admin/index.php pixelpost_v1.7.3/admin/index.php
> define('PIXELPOST',true);
>
< $version = "MS43LjIgKFF1aWNraWUpIC0gSnVseSAyMDA5";
> $version = "MS43LjMgKFF1aWNraWUgRml4KSAtIFNlcHRlbWJlciAyMDA5";
< if( $installed_version < 1.72 )
> if( $installed_version < 1.73 )
diff -r -w pixelpost_v1.7.2/admin/install/install_functions.php pixelpost_v1.7.3/admin/install/install_functions.php
< 'japanese'=>array('JP','Japanese')
> 'japanese'=>array('JP','Japanese'),
> 'romanian'=>array('RO','Romana'),
> 'russian'=>array('RU','Russian'),
> 'czech'=>array('CS','Česky')
< $var = htmlentities(stripslashes(strip_tags($var)));
> $var = stripslashes(strip_tags($var));
< $admin_user = stripslashes($data['admin_username']);
> $admin_username = stripslashes($data['admin_username']);
diff -r -w pixelpost_v1.7.2/admin/install/install_schema.php pixelpost_v1.7.3/admin/install/install_schema.php
< //$ins_data[] = UpgradeTo165($prefix,'1.65');
<
< //case 1.65:
< //$ins_data[] = UpgradeTo1651($prefix,'1.651');
<
< //case 1.651:
< //$ins_data[] = UpgradeTo1652($prefix,'1.652');
<
> case 1.72:
> $ins_data[] = UpgradeTo171($prefix,'1.73');
diff -r -w pixelpost_v1.7.2/admin/install.php pixelpost_v1.7.3/admin/install.php
< define('PP_VERSION', '1.72');
> define('PP_VERSION', '1.73');
diff -r -w pixelpost_v1.7.2/admin/new_image.php pixelpost_v1.7.3/admin/new_image.php
< $userfile = strtolower($_FILES['userfile']['name']);
> $userfile = strtolower(str_replace(" ", "_", $_FILES['userfile']['name']));
> $userfile = preg_replace('/[^0-9a-z\-_\.]/', '', $userfile);
diff -r -w pixelpost_v1.7.2/admin/pass_recovery.php pixelpost_v1.7.3/admin/pass_recovery.php
> if(!defined('PIXELPOST')){die("Try another day!!");}
>
diff -r -w pixelpost_v1.7.2/admin/view_info.php pixelpost_v1.7.3/admin/view_info.php
> echo "
> <div class='jcaption'>Comment ERROR codes explanation</div>
> <div class='content'>
> <table border=\"0\" cellspacing=\"5\">
> <tbody><tr>
> <td><b>Errorcode</b></td>
> <td><b>Description</b></td>
> </tr>
> <tr>
> <td>ERR: 01</td>
> <td>The comment was blocked because the token didn't match with the controltoken.</td>
> </tr>
> <tr>
> <td>ERR: 02</td>
> <td>The ID of the image didn't correspond with the image ID in the form.</td>
> </tr>
> <tr>
> <td>ERR: 03</td>
> <td>The comment was blocked on an intrusion ID.</td>
> </tr>
> <tr>
> <td>ERR: 04</td>
> <td>The comment contained more than the allowed maximum of URLS.</td>
> </tr>
> <tr>
> <td>ERR: 05</td>
> <td>The comment contains blacklisted words or IPaddress.</td>
> </tr>
> <tr>
> <td>ERR: 06</td>
> <td>The comment doesn't allow comments (disabled by the administrator).</td>
> </tr>
> <tr>
> <td>ERR: 07</td>
> <td>The comment was blocked because the e-mailaddress failed the check. People are required to fill in either a real e-mailaddress or leave it blank.</td>
> </tr>
> </table>";
> </div>
diff -r -w pixelpost_v1.7.2/includes/create_tables.php pixelpost_v1.7.3/includes/create_tables.php
< deactivateAddons($prefix);
< activatePxlpstAddons($prefix);
<
< function UpgradeTo171($prefix, $newversion) {
> function UpgradeTo171($prefix, $newversion)
> {
>
>
> deactivateAddons($prefix);
> activatePxlpstAddons($prefix);
>
diff -r -w pixelpost_v1.7.2/includes/functions.php pixelpost_v1.7.3/includes/functions.php
< global $pixelpost_db_pixelpost;
< //start_mysql();
< // Check to see if the ban table exists, if not, create it
< //$query = "show tables from ".$pixelpost_db_pixelpost." like '".$pixelpost_db_prefix."addons'";
< $query = "SHOW TABLES FROM `".$pixelpost_db_pixelpost."` LIKE '".$pixelpost_db_prefix."addons'";
< $query = mysql_query( $query);
< $query = mysql_fetch_array($query);
< if ($query !='')
> $query = mysql_query("SELECT * FROM `".$pixelpost_db_prefix."addons` LIMIT 1");
> if($query)
< global $pixelpost_db_pixelpost;
< //start_mysql();
< // Check to see if the ban table exists, if not, create it
< //$query = "show tables from `".$pixelpost_db_pixelpost."` like '".$pixelpost_db_prefix."addons'";
< $query = "SHOW TABLES FROM `".$pixelpost_db_pixelpost."` LIKE '".$pixelpost_db_prefix."addons'";
< $query = mysql_query( $query);
< $query = mysql_fetch_array($query);
< if ($query !='')
> $query = mysql_query("SELECT * FROM `".$pixelpost_db_prefix."addons` LIMIT 1");
> if($query)
< echo "<a href='".$_SERVER['PHP_SELF']."?view=".strtolower($funcs['menu_name'])."'>".$funcs['menu_name']."</a>";
> echo "<a href='".$_SERVER['PHP_SELF']."?view=".rawurlencode(strtolower($funcs['menu_name']))."'>".$funcs['menu_name']."</a>";
< if ($funcs['workspace']=='admin_main_menu_contents' & $_GET['view']!=strtolower($funcs['menu_name'])) continue;
> if ($funcs['workspace']=='admin_main_menu_contents' & $_GET['view']!=rawurlencode(strtolower($funcs['menu_name']))) continue;
< $toecho ="|<a class='".$selecteclass."' href='?view=".strtolower($menu_name) ."&".$menuitem ."=".$submenuitem.$additional."' id='".$menu_name.$submenu_name."'>" .strtoupper($submenu_name) ."</a>";
> $toecho ="|<a class='".$selecteclass."' href='?view=".rawurlencode(strtolower($menu_name)) ."&".$menuitem ."=".$submenuitem.$additional."' id='".$menu_name.$submenu_name."'>" .strtoupper($submenu_name) ."</a>";
< global $pixelpost_db_prefix;
> global $pixelpost_db_prefix, $admin_lang_spam_err_6, $admin_lang_spam_com_upd;
< if (mysql_error()) $additional_msg = "$admin_lang_spam_err_6 ".mysql_error()."<br/>";
< else $additional_msg = "$admin_lang_spam_com_upd"."<br/>";
> if (mysql_error()) $additional_msg = $admin_lang_spam_err_6.' '.mysql_error().'<br />';
> else $additional_msg = $admin_lang_spam_com_upd.'<br />';
< global $pixelpost_db_prefix;
> global $pixelpost_db_prefix, $admin_lang_spam_com_del, $admin_lang_spam_err_7;
< if (mysql_error()) $additional_msg = "$admin_lang_spam_err_7 ".mysql_error()."<br/>";
< else $additional_msg = "$admin_lang_spam_com_del"."<br/>";
> if (mysql_error()) $additional_msg = $admin_lang_spam_err_7.' '.mysql_error().'<br />';
> else $additional_msg = $admin_lang_spam_com_del.'<br />';
< global $pixelpost_db_prefix;
> global $pixelpost_db_prefix, $admin_lang_spam_err_8, $admin_lang_spam_visit_del;
< $additional_msg = "$admin_lang_spam_err_8".mysql_error()."<br/>";
> $additional_msg = $admin_lang_spam_err_8.' '.mysql_error().'<br />';
< $additional_msg = "$admin_lang_spam_visit_del"."<br/>";
> $additional_msg = $admin_lang_spam_visit_del.'<br />';
diff -r -w pixelpost_v1.7.2/includes/functions_browse.php pixelpost_v1.7.3/includes/functions_browse.php
< $where = "AND (DATE_FORMAT(datetime, '%Y-%m')='".$_GET['archivedate']."')"; //DATE_FORMAT(foo, '%Y-%m-%d')
> $archivedate = preg_replace('/[^0-9\-]/', '', $_GET['archivedate']);
> $where = "AND (DATE_FORMAT(datetime, '%Y-%m')='$archivedate')"; //DATE_FORMAT(foo, '%Y-%m-%d')
diff -r -w pixelpost_v1.7.2/includes/functions_comments.php pixelpost_v1.7.3/includes/functions_comments.php
< echo "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\"><HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\nThe comment could not be accepted because it got flagged as SPAM by our anti-SPAM measures. (ERR: 06).<P>\n<P>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.\n<br /><a href='javascript:history.back()'> Click here to go BACK</a></BODY></HTML>";
> echo "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\"><HTML><HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD><BODY>\n<H1>Not Found</H1>\nThe administrator of this blog has disabled comments for this picture. (ERR: 06)<P>\n<P>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.\n<br /><a href='javascript:history.back()'> Click here to go BACK</a></BODY></HTML>";
diff -r -w pixelpost_v1.7.2/includes/functions_exif.php pixelpost_v1.7.3/includes/functions_exif.php
> $aperture = round(trim($aperture,' f'),1);
> $aperture = "f/$aperture";
< $flash = $empty_exif;
> $flash = null;
< if(isset($exposure)&&$exposure != "")
> if(isset($exposure)&&$exposure != "0")
< if(isset($flash)&&$flash != "")
< {
< else
< {
< $flash = "$empty_exif";
< $tpl = ereg_replace("<EXIF_FLASH>",$flash,$tpl);
< }
< }
diff -r -w pixelpost_v1.7.2/index.php pixelpost_v1.7.3/index.php
> ini_set('arg_separator.output', '&');
> define('PIXELPOST',true);
> /**
> * Load the $cfgrow configuration variable and set the upload directory
> */
> // get config
> if($cfgrow = sql_array("SELECT * FROM ".$pixelpost_db_prefix."config"))
> {
> $upload_dir = $cfgrow['imagepath'];
> }else{
> $extra_message= "Coming Soon. Not Installed Yet. Cause #1";
> show_splash($extra_message,"templates");
> }
> session_start();
>
< ini_set('arg_separator.output', '&');
<
< session_start();
<
< // get config
< if($cfgrow = sql_array("SELECT * FROM ".$pixelpost_db_prefix."config"))
< {
< $upload_dir = $cfgrow['imagepath'];
< }else{
< $extra_message= "Coming Soon. Not Installed Yet. Cause #1";
< show_splash($extra_message,"templates");
<
< }
<
> setcookie ('lang', "", time() - 3600, '/', false, 0);
> setcookie ('lang', "", time() - 3600, '/', false, 0);
> setcookie ('lang', "", time() - 3600, '/', false, 0);
|