--- trunk/admin/res_drill.phtml 2003/12/05 18:34:18 1 +++ trunk/admin/res_drill.phtml 2004/03/04 22:43:50 42 @@ -90,10 +90,10 @@ // Initialize counter $rowcount = 0; - $rs = mysql_query($sql, $con); + $rs = xx_query($sql, $con); // Cycle through the result set - while ( $row = mysql_fetch_array ( $rs ) ) { + while ( $row = xx_fetch_array ( $rs ) ) { $subject = Trim($row["subject"]); $subject_id = Trim($row["subject_id"]); $infotype = Trim($row["infotype"]); @@ -116,8 +116,8 @@ // Summary of RQS page uses printf("Total Research QuickStart Uses:\n"); - if (mysql_num_rows($rs) == 0) printf("(None)\n"); - else printf("%d\n", mysql_num_rows($rs)); + if (xx_num_rows($rs) == 0) printf("(None)\n"); + else printf("%d\n", xx_num_rows($rs)); printf("\n"); // Close table @@ -144,10 +144,10 @@ // Initialize counter $rowcount = 0; - $rs = mysql_query($sql, $con); + $rs = xx_query($sql, $con); // Cycle through the result set - while ( $row = mysql_fetch_array ( $rs ) ) { + while ( $row = xx_fetch_array ( $rs ) ) { $page_id = Trim($row["page_id"]); $course_concat = Trim($row["course_concat"]); @@ -168,8 +168,8 @@ // Summary of CourseScribe page uses printf("Total CourseLib+ Uses:\n"); - if (mysql_num_rows($rs) == 0) printf("(None)\n"); - else printf("%d\n", mysql_num_rows($rs)); + if (xx_num_rows($rs) == 0) printf("(None)\n"); + else printf("%d\n", xx_num_rows($rs)); printf("\n"); // Close table @@ -195,10 +195,10 @@ // Initialize counter $rowcount = 0; - $rs = mysql_query($sql, $con); + $rs = xx_query($sql, $con); // Cycle through the result set - while ( $row = mysql_fetch_array ( $rs ) ) { + while ( $row = xx_fetch_array ( $rs ) ) { $page_id = Trim($row["page_id"]); $page_title = Trim($row["page_title"]); @@ -219,8 +219,8 @@ // Summary of FreeForm page uses printf("Total PageScribe Uses:\n"); - if (mysql_num_rows($rs) == 0) printf("(None)\n"); - else printf("%d\n", mysql_num_rows($rs)); + if (xx_num_rows($rs) == 0) printf("(None)\n"); + else printf("%d\n", xx_num_rows($rs)); printf("\n"); // Close table