]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_edit.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-theme_edit.php
index 060cb5300f8a0bd1864c390806b5c0dcfb70d44c..95a3735c0a686a1d3e590ef34a320e2456e0c58b 100644 (file)
@@ -66,7 +66,7 @@ if (ifPostContainsSelections()) {
                // Run SQL command?
                if (!empty($sql)) {
                        // Run it
-                       $result = SQL_QUERY_ESC($sql, array(bigintval($id)), __FILE__, __LINE__);
+                       $result = sqlQueryEscaped($sql, array(bigintval($id)), __FILE__, __LINE__);
 
                        // Rebuild cache
                        rebuildCache('themes', 'them');
@@ -90,12 +90,12 @@ if (ifPostContainsSelections()) {
 }
 
 // Init rows
-$OUT = ''; 
+$OUT = '';
 
 // Switch to testing mode
 $GLOBALS['theme_mode'] = 'test';
 
-$result = SQL_QUERY("SELECT
+$result = sqlQuery("SELECT
        `id`,
        `theme_path`,
        `theme_active`,
@@ -106,8 +106,8 @@ FROM
 ORDER BY
        `theme_path` ASC", __FILE__, __LINE__);
 
-if (!SQL_HASZERONUMS($result)) {
-       while ($content = SQL_FETCHARRAY($result)) {
+if (!ifSqlHasZeroNums($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Construct IFN
                $inc = sprintf("theme/%s/theme.php", $content['theme_path']);
 
@@ -131,7 +131,7 @@ if (!SQL_HASZERONUMS($result)) {
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 } else {
        // No themes found???
        $OUT .= '<tr>