<?php // Require the class code... require 'class_security_img.php'; // Initialize class $gd = new sec_img_verification(); // Output image $gd->output_image();
<? if(!defined("CUR_FILENAME")){ die("You can't access file directly ... "); } require(CWD . '/includes/class_security_img.php'); $sec_img = new sec_img_verification(); //------------------ Guest Book -------------------------- if($action=="guestbook"){ print "<img src='images/arrw.gif'> <a href='index.php?action=guestbook_add'> اضافة الى السجل </a><br><br>"; $start = intval($start); if(!$limit){$limit=30;} $limit=intval($limit); $qr = db_query("select * from guestbook_data where active=1 order by id DESC limit $start,$limit"); if(db_num($qr)){ $page_result = db_qr_fetch("select count(*) as count from guestbook_data where active=1"); $numrows=$page_result['count']; $previous_page=$start - $m_perpage; $next_page=$start + $m_perpage; $m_perpage = $limit ; $page_string = "index.php?action=guestbook";