Changeset 6000
- Timestamp:
- 05/23/08 21:16:38 (5 months ago)
- Location:
- trunk
- Files:
-
- 7 modified
-
components/Needlworks.DBMS.MySQL.php (modified) (1 diff)
-
interface/blog/sync.php (modified) (1 diff)
-
interface/owner/communication/trackback/log/index.php (modified) (1 diff)
-
interface/owner/control/system/index.php (modified) (1 diff)
-
interface/owner/data/correct/index.php (modified) (1 diff)
-
interface/owner/setting/filter/change/index.php (modified) (2 diffs)
-
interface/owner/skin/setting/skin/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/components/Needlworks.DBMS.MySQL.php
r5806 r6000 295 295 return mysql_error($err); 296 296 } 297 298 /*@static@*/ 299 function stat($stat = null) { 300 return mysql_stat($stat); 301 } 297 302 } 298 303 -
trunk/interface/blog/sync.php
r5557 r6000 35 35 WHERE id = tag AND blogid = ".getBlogId()." AND entry = {$entry['id']} 36 36 ORDER BY name"); 37 while(list($tag) = mysql_fetch_row($result))37 while(list($tag) = POD::fetch($result,'row')) 38 38 echo '<tag>', htmlspecialchars($tag), '</tag>', "\r\n"; 39 mysql_free_result($result);39 POD::free($result); 40 40 echo '<location>', htmlspecialchars($entry['location']), '</location>', "\r\n"; 41 41 echo '<comments>', $entry['comments'], '</comments>', "\r\n"; -
trunk/interface/owner/communication/trackback/log/index.php
r5285 r6000 13 13 } 14 14 else 15 respond::PrintResult(array('error' => 1, 'msg' => mysql_error()));15 respond::PrintResult(array('error' => 1, 'msg' => POD::error())); 16 16 ?> -
trunk/interface/owner/control/system/index.php
r5926 r6000 30 30 $dbVersion = POD::queryColumn("SELECT VERSION()"); 31 31 $dbVersion = "MySQL: " . $dbVersion[0]; 32 $dbStat = preg_replace( "/\\s{2,}/", "<br />", mysql_stat());32 $dbStat = preg_replace( "/\\s{2,}/", "<br />", POD::stat()); 33 33 } 34 34 -
trunk/interface/owner/data/correct/index.php
r5832 r6000 123 123 if (!is_null($comment['parent']) && ($comment['isFiltered'] == 0)) { 124 124 $r2 = POD::query("SELECT id FROM {$database['prefix']}Comments WHERE blogid = $blogid AND id = {$comment['parent']} AND isFiltered = 0"); 125 if ( mysql_num_rows($r2) <= 0) {125 if (POD::num_rows($r2) <= 0) { 126 126 trashCommentInOwner($blogid, $comment['id']); 127 127 } -
trunk/interface/owner/setting/filter/change/index.php
r5285 r6000 30 30 $isAjaxRequest ? respond::PrintResult(array('error' => 0)) : header("Location: ".$_SERVER['HTTP_REFERER']); 31 31 } else { 32 $isAjaxRequest ? respond::PrintResult(array('error' => 1, 'msg' => mysql_error())) : header("Location: ".$_SERVER['HTTP_REFERER']);32 $isAjaxRequest ? respond::PrintResult(array('error' => 1, 'msg' => POD::error())) : header("Location: ".$_SERVER['HTTP_REFERER']); 33 33 } 34 34 } else { … … 38 38 $isAjaxRequest ? respond::PrintResult(array('error' => 0)) : header("Location: ".$_SERVER['HTTP_REFERER']); 39 39 else 40 $isAjaxRequest ? respond::PrintResult(array('error' => 1, 'msg' => mysql_error())) : header("Location: ".$_SERVER['HTTP_REFERER']);40 $isAjaxRequest ? respond::PrintResult(array('error' => 1, 'msg' => POD::error())) : header("Location: ".$_SERVER['HTTP_REFERER']); 41 41 } 42 42 ?> -
trunk/interface/owner/skin/setting/skin/index.php
r5285 r6000 38 38 respond::PrintResult(array('error' => 0)); 39 39 } else { 40 respond::PrintResult(array('error' => 1, 'msg' => mysql_error()));40 respond::PrintResult(array('error' => 1, 'msg' => POD::error())); 41 41 } 42 42 ?>
