merhaba arkadaslar elimde bir script var ve son arananlari listelemek istiyorum admin panelinde son aranan kelimeleri kendisi gösteriyor onun kodu su... &lt;?php include ; include ; $act = $_GET ; switch { default: case 'default': echo &quot;&lt;h2&gt;Search statistics&lt;/h2&gt;&quot;; $sql = &quot;SELECT COUNT AS count FROM `ura_searches&quot;; $result = mysql_query ; if die(mysql_error ; $row = mysql_fetch_assoc ; $totals = $row ; $sql = &quot;SELECT FROM `ura_searches` WHERE string!= '' ORDER BY `hits` DESC LIMIT 15&quot;; $result = mysql_query ; if die(mysql_error ; echo &quot;&lt;div&gt;&quot;; echo &quot;&lt;p&gt;There are &quot;.$totals.&quot; unique keywords.&lt;/p&gt;&quot;; while( $row = mysql_fetch_assoc ) if( $totals &gt; 25 ) echo &quot;&lt;/div&gt;&quot;; break; case 'searches' : $sql = &quot;SELECT FROM `ura_searches` ORDER BY `hits` DESC LIMIT 50&quot;; $result = mysql_query ; $totals = mysql_num_rows ; if die(mysql_error ; echo &quot;&lt;div&gt;&quot;; echo &quot;&lt;p&gt;There are &quot;.$totals.&quot; unique keywords.&lt;/p&gt;&quot;; while( $row = mysql_fetch_assoc ) break; } include ; ?&gt; ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, admin funcistion dosyasida bu... &lt;?php //settings. php functions function validate_email { return eregi(&quot;^ + @ + \. $&quot;,$email); } function edit_profile_form { if( isset ) else $ret = &quot;&quot;; $ret.= &quot;&lt;form name=\&quot;edit-profile\&quot; method=\&quot;&quot;.$method.&quot;\&quot; action=\&quot;&quot;.$action.&quot;\&quot;&gt;&quot;; $ret.= &quot; &lt;label&gt;&lt;strong&gt;Username&lt;/strong&gt;:&lt;br&gt;&quot;; $ret.= &quot; &lt;input type=\&quot;text\&quot; name=\&quot;user\&quot; value=\&quot;&quot;.$username.&quot;\&quot; class=\&quot;inputtext\&quot; /&gt;&lt;br /&gt;&quot;; $ret.= &quot; &lt;/label&gt;&lt;label&gt;&quot;; $ret.= &quot; &lt;strong&gt;Your current password&lt;/strong&gt;:&lt;br&gt;&quot;; $ret.= &quot; &lt;input type=\&quot;password\&quot; name=\&quot;current\&quot; class=\&quot;inputtext\&quot;/&gt;&lt;span style=\&quot;font-size: 10px; color: #999;\&quot;&gt; Enter your current password should you change anything.&lt;/span&gt;&lt;br&gt;&quot;; $ret.= &quot; &lt;/label&gt;&lt;label&gt;&quot;; $ret.= &quot; &lt;strong&gt;New Password&lt;/strong&gt;:&lt;br&gt;&quot;; $ret.= &quot; &lt;input type=\&quot;text\&quot; name=\&quot;newpass\&quot; class=\&quot;inputtext\&quot;/&gt;&lt;span style=\&quot;font-size: 10px; color: #999;\&quot;&gt; Leave blank if you don't want to change your password.&lt;/span&gt;&quot;; $ret.= &quot; &lt;/label&gt;&lt;br /&gt;&quot;; $ret.= &quot; &lt;label&gt;&lt;strong&gt;E-mail&lt;/strong&gt;:&lt;br&gt;&quot;; $ret.= &quot; &lt;input type=\&quot;text\&quot; name=\&quot;email\&quot; value=\&quot;&quot;.$email.&quot;\&quot; class=\&quot;inputtext\&quot; /&gt;&quot;; $ret.= &quot; &lt;/label&gt;&quot;; $ret.= &quot; &lt;br /&gt;&quot;; $ret.= &quot; &lt;label&gt;&quot;; $ret.= &quot; &lt;input type=\&quot;submit\&quot; name=\&quot;Submit\&quot; value=\&quot;Submit\&quot; class=\&quot;inputbutton\&quot; /&gt;&quot;; $ret.= &quot; &lt;/label&gt;&quot;; $ret.= &quot; &lt;/form&gt;&quot;; return $ret; } // //ads. php functions function edit_ad_form // //login. php functions function login_form function rand_pass($length = 5) { $smallcaps = array ; $caps = array ; $nums = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9'); $keyVals = array ; $key = array ; $keyVals = array_merge ; for($i = 0; $i &lt; $length; $i++) return implode ; } // //manager. php functions function edit_form($mode, $action = &quot;manager. php&quot;, $val = array , $message){ $ret = ''; if( isset ) $ret.= ' &lt;form name=&quot;manage-item&quot; method=&quot;post&quot; action=&quot;'.$action.'&quot;&gt; &lt;table width=&quot;75%&quot; border=&quot;0&quot; cellpadding=&quot;4&quot; cellspacing=&quot;0&quot;&gt;'; if(strtolower 'add') $ret.= ' &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Product Name&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;ProductName&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Category&lt;/strong&gt;&lt;/td&gt;'; $result = @mysql_query ; if die(mysql_error ; $ret.= '&lt;td&gt;&lt;select name=&quot;CategoryID&quot; size=&quot;1&quot; class=&quot;inputtext&quot;&gt;'; while( $row = mysql_fetch_assoc ) { if else $ret.= '&lt;option value=&quot;'.$row .'&quot;&gt;'.$row .'&lt;/option&gt;'; } $ret.= '&lt;/select&gt;&lt;/td&gt;'; $ret.= ' &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Price&lt;/strong&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 10px&quot;&gt; &lt;/span&gt;&lt;/td&gt; &lt;td&gt;$ &lt;input type=&quot;text&quot; name=&quot;USDPrice&quot; value=&quot;'. stripslashes .'&quot; size=&quot;10&quot; class=&quot;inputtext&quot;&gt; USD&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot;&gt;&lt;strong&gt;Short Description&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;textarea name=&quot;ShortDesc&quot; cols=&quot;40&quot; rows=&quot;5&quot; class=&quot;inputtext&quot;&gt;'. stripslashes .'&lt;/textarea&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot;&gt;&lt;strong&gt;Long Description&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;textarea name=&quot;LongDesc&quot; cols=&quot;40&quot; rows=&quot;10&quot; class=&quot;inputtext&quot;&gt;'. stripslashes .'&lt;/textarea&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot;&gt;&lt;strong&gt;Is it a product from&lt;br /&gt; RegNow?&lt;/strong&gt;&lt;/td&gt; &lt;td&gt; &lt;input name=&quot;notrn&quot; type=&quot;radio&quot; value=&quot;0&quot; '; if($val 0) $ret.= 'checked &gt;'; else $ret.= '&gt;'; $ret.= 'Yes&lt;br&gt; &lt;input name=&quot;notrn&quot; type=&quot;radio&quot; value=&quot;1&quot; '; if($val 1) $ret.= 'checked &gt;'; else $ret.= '&gt;'; $ret.= 'No&lt;br&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Download Link&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;TrialURL&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Buy Link&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;DirectPurchaseURL&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Boxshot URL&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;Boxshot&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Screenshot URL&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;Screenshot&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;RegNow Vendor ID&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;VendorID&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Vendor Name&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;VendorName&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;strong&gt;Vendor URL&lt;/strong&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;VendorHomepageURL&quot; value=&quot;'. stripslashes .'&quot; size=&quot;40&quot; class=&quot;inputtext&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td valign=&quot;top&quot;&gt;&lt;strong&gt;Status&lt;/strong&gt;&lt;/td&gt; &lt;td&gt; &lt;input name=&quot;status&quot; type=&quot;radio&quot; value=&quot;0&quot; '; if($val 0) $ret.= 'checked &gt;'; else $ret.= '&gt;'; $ret.= 'Normal&lt;br&gt; &lt;input type=&quot;radio&quot; name=&quot;status&quot; value=&quot;1&quot; '; if($val 1) $ret.= 'checked &gt;'; else $ret.= '&gt;'; $ret.= 'Featured&lt;br&gt; &lt;input type=&quot;radio&quot; name=&quot;status&quot; value=&quot;2&quot; '; if($val 2) $ret.= 'checked &gt;'; else $ret.= '&gt;'; $ret.= 'Bestseller &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;Submit&quot; class=&quot;inputbutton&quot;&gt;&lt;/td&gt; &lt;td&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/form&gt; '; return $ret; } ?&gt; ... sql dosyasida budur,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -- -- Table structure for table `usb` -- CREATE TABLE `ura_searches` ( `id` int(5) NOT lisanssız auto_increment, `string` varchar(255) NOT lisanssız default '', `hits` int(5) NOT lisanssız default '1', PRIMARY KEY , KEY `id` ) ENGINE=MyISAM PACK_KEYS=0 AUTO_INCREMENT=1 ; -- -- Dumping data for table `usb` -- ... arkadaslar simdi ben bunda son arananlari listelemek isdiyorum mesela aranan kelime sigara siteadi.com/arama/sigara.html seklinde bir kod yapip index e yerlestirmek isdiyorum bu gibi birsey yapabilirmiyim acaba yardimci olabilecek arkadas varmi acaba ins istenilen bilgileri yazmisimdir. simdiden ilgili arkadaslara tsk ederim.