(file) Return to index.html CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / archives / 2004 / 02

   1 rizwank 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   2             
   3             <html xmlns="http://www.w3.org/1999/xhtml">
   4             <head>
   5             <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   6             
   7             <title>Rizwan Kassim's Public Log: February 2004 Archives</title>
   8             
   9             <link rel="stylesheet" href="../../styles-site.css" type="text/css" />
  10             <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.geekymedia.com/index.rdf" />
  11             <link rel="start" href="http://www.geekymedia.com/" title="Home" />
  12             <link rel="prev" href="http://www.geekymedia.com/archives/2004/01/index.html" title="January 2004" />
  13             
  14             <link rel="next" href="http://www.geekymedia.com/archives/2004/03/index.html" title="March 2004" />
  15             
  16             
  17             <script language="javascript" type="text/javascript">
  18             function OpenComments (c) {
  19                 window.open(c,
  20                                 'comments',
  21                                 'width=480,height=480,scrollbars=yes,status=yes');
  22 rizwank 1.1 }
  23             
  24             function OpenTrackback (c) {
  25                 window.open(c,
  26                                 'trackback',
  27                                 'width=480,height=480,scrollbars=yes,status=yes');
  28             }
  29             </script>
  30             
  31             <script type="text/javascript" language="JavaScript" src="http://www.geekymedia.com/magic/card.js">
  32             <!--
  33             <rdf:RDF xmlns="http://web.resource.org/cc/"
  34                      xmlns:dc="http://purl.org/dc/elements/1.1/"
  35                      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  36             <Work rdf:about="http://www.geekymedia.com/">
  37             <dc:title>Rizwan Kassim&apos;s Public Log</dc:title>
  38             <dc:description>While I swore that I would NEVER make a blog due ot the live journal voyuer craziness, when I found out I could update a MT blog via my Treo, I had to set one up, if only to avoid torturing HeatherW with constant SMSs anytime I had a thought of any magnitude.</dc:description>
  39             <license rdf:resource="http://creativecommons.org/licenses/by-nd-nc/1.0/" />
  40             </Work>
  41             <License rdf:about="http://creativecommons.org/licenses/by-nd-nc/1.0/">
  42             <requires rdf:resource="http://web.resource.org/cc/Attribution" />
  43 rizwank 1.1 <requires rdf:resource="http://web.resource.org/cc/Notice" />
  44             <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
  45             <permits rdf:resource="http://web.resource.org/cc/Distribution" />
  46             <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
  47             </License>
  48             </rdf:RDF>
  49             -->
  50             
  51             
  52             
  53             <div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
  54             <script language="JavaScript" src="http://www.geekymedia.com/overlib.js"><!-- overLIB (c) Erik Bosrup --></script> 
  55             
  56             <script type="text/javascript" src="http://www.geekymedia.com/nicetitle.js"></script>
  57             
  58             
  59             
  60             
  61             
  62             
  63             
  64 rizwank 1.1 
  65             
  66             
  67             
  68             
  69             
  70             
  71             
  72             
  73             
  74             
  75             
  76             
  77             
  78             
  79             
  80             
  81             
  82              
  83             
  84             
  85 rizwank 1.1 </head>
  86             
  87             <body>	
  88             
  89             <div id="banner">
  90             <h1><a href="http://www.geekymedia.com/" accesskey="1">Rizwan Kassim's Public Log</a></h1>
  91             <span class="description">While I swore that I would NEVER make a blog due ot the live journal voyuer craziness, when I found out I could update a MT blog via my Treo, I had to set one up, if only to avoid torturing HeatherW with constant SMSs anytime I had a thought of any magnitude.</span>
  92             </div>
  93             
  94             <div id="container">
  95             
  96             <div class="blog">
  97             
  98             <div id="menu">
  99             <a href="http://www.geekymedia.com/archives/2004/01/index.html">&laquo; January 2004</a> |
 100             
 101             <a href="http://www.geekymedia.com/">Main</a>
 102             | <a href="http://www.geekymedia.com/archives/2004/03/index.html">March 2004 &raquo;</a>
 103             
 104             </div>
 105             
 106 rizwank 1.1 </div>
 107             
 108             <div class="blog">
 109             
 110             <!--
 111             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 112                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 113                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 114             <rdf:Description
 115                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000304"
 116                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/303"
 117                 dc:title="Happy Birthday"
 118                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000304"
 119                 dc:subject=""
 120                 dc:description="Happy Birthday to me! Happy Birthday to me! Happy Birthday to Rizwan! Happy Birthday to me! 23 years old. Almost done with college, so I&amp;#8217;m slowly catching up there&amp;#8230; I&amp;#8217;m gonna do my best not to get depressed ala Heather..."
 121                 dc:creator="Rizwank"
 122                 dc:date="2004-02-28T01:00:43-08:00" />
 123             </rdf:RDF>
 124             -->
 125             
 126             
 127 rizwank 1.1 <h2 class="date">February 28, 2004</h2>
 128             
 129             
 130             <div class="blogbody">
 131             <a name="000304"></a>
 132             <?php
 133             
 134             // record the referer
 135             if ($my_ip !== $remote_ip) {
 136                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (304, '$referer', '', $time)" );
 137             }
 138             
 139             // get the no. of times this entry has been read
 140             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=304' );
 141             $row = mysql_fetch_row( $rs );
 142             $hits = $row[0];
 143             
 144             ?>
 145             <h3 class="title">Happy Birthday</h3>
 146              
 147             <p>  <table align="left"><tr valign="bottom"><td>
 148 rizwank 1.1    <p style="font-size:16pt"><b>
 149                 H</b>
 150                </p>
 151               </td></tr></table>
 152              appy Birthday to me!<br />
 153             Happy Birthday to me!<br />
 154             Happy Birthday to Rizwan!<br />
 155             Happy Birthday to me!</p>
 156             
 157             <p>23 years old. Almost done with college, so I&#8217;m slowly catching up there&#8230; I&#8217;m gonna do my best not to get depressed ala Heather about what I have and havent&#8217; done in the last year (which wasn&#8217;t actually that bad), but look at myself a year ago and how much I&#8217;d rather be what I am now then what I was then&#8230;</p>
 158             
 159             
 160             	
 161             
 162             
 163             
 164             <div class="posted">
 165             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000304" title="Permanent Link to this Post.">01:00 AM</a><?php
 166             if ($hits) { 
 167                print " | Read ";
 168                echo "$hits";
 169 rizwank 1.1    print " time";
 170                if($hits != 1) echo 's';
 171             }
 172             ?>
 173             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=304" onclick="OpenComments(this.href); return false">Comments (4)</a>
 174             	
 175             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=304" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 176             	
 177             </div>
 178             
 179             </div>
 180             <?php
 181             
 182             // display the list of referers
 183             echo '<div class="sidetitle">Referrers</div>', "\n";
 184             echo '<div class="side">', "\n";
 185             
 186             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=304 GROUP BY referer ORDER BY count DESC, title';
 187             
 188             $rs = mysql_query( $sql );
 189             $n = 0;
 190 rizwank 1.1 
 191             while( $row = mysql_fetch_assoc( $rs ) ) {
 192               $referer1 = $row['referer'];
 193               $title = $row['title'];
 194               $count = $row['count'];
 195               $search = $row['search'];
 196             
 197               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 198                 $n++;
 199                 echo '<a href="', $referer1, '" target="_blank">';
 200                 echo $title . "</a> [" . $count . "]<br />\n";
 201               }
 202             }
 203             
 204             if (!($n)) {
 205                echo "No referrals yet<br />";
 206             }
 207             else {
 208             echo "<br />\n";
 209             echo 'referrers [referrals]<br />';
 210             }
 211 rizwank 1.1 echo '</div>';
 212             
 213             echo "<div class='sidetitle'>Search Terms</div>\n";
 214             echo "<div class='side'>";
 215             
 216             $rs = mysql_query( $sql );
 217             $n = 0;
 218             
 219             while( $row = mysql_fetch_assoc( $rs ) ) {
 220               $query = '';
 221             
 222               $referer1 = $row['referer'];
 223               $title = $row['title'];
 224               $count = $row['count'];
 225               $search = $row['search'];
 226             
 227               if ($search == 1) {
 228                 $n++;
 229                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 230                 echo $query . ' [' . $count . ']' . "<br />\n";
 231               }
 232 rizwank 1.1 }
 233             
 234             if (!($n)) { echo "No search terms yet<br />"; }
 235             else { echo "<br />search terms [hits]"; }
 236             echo "</div>";
 237             ?>
 238             
 239             
 240             
 241             <!--
 242             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 243                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 244                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 245             <rdf:Description
 246                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000303"
 247                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/302"
 248                 dc:title="As Usual"
 249                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000303"
 250                 dc:subject=""
 251                 dc:description="As usual, as things are bothering me, I tend to rant here&amp;#8230; Girls and dating and school have been the latest subjects; big surprise. I&amp;#8217;m getting overly concerened re dating, to the point that I&amp;#8217;m spending way too much time..."
 252                 dc:creator="Rizwank"
 253 rizwank 1.1     dc:date="2004-02-26T17:09:07-08:00" />
 254             </rdf:RDF>
 255             -->
 256             
 257             
 258             <h2 class="date">February 26, 2004</h2>
 259             
 260             
 261             <div class="blogbody">
 262             <a name="000303"></a>
 263             <?php
 264             
 265             // record the referer
 266             if ($my_ip !== $remote_ip) {
 267                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (303, '$referer', '', $time)" );
 268             }
 269             
 270             // get the no. of times this entry has been read
 271             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=303' );
 272             $row = mysql_fetch_row( $rs );
 273             $hits = $row[0];
 274 rizwank 1.1 
 275             ?>
 276             <h3 class="title">As Usual</h3>
 277              
 278             <p>  <table align="left"><tr valign="bottom"><td>
 279                <p style="font-size:16pt"><b>
 280                 A</b>
 281                </p>
 282               </td></tr></table>
 283              s usual, as things are bothering me, I tend to rant here&#8230; Girls and dating and school have been the latest subjects; big surprise.</p>
 284             
 285             <p>I&#8217;m getting overly concerened re dating, to the point that I&#8217;m spending way too much time to thinking about it. Part of my recovery (beyond espousing my recent club activities later) is to remove the waiting links from MyIE2, and I&#8217;m doing that now. If I really get back into hunting online dating later, then I&#8217;ll worry about it then.</p>
 286             
 287             
 288             <ul>
 289             <li><a href="http://www.scarleteen.com/" title="A Phenominal site on sex for youngsters">A Phenominal site on sex for youngsters</a></li>
 290             <li>Oh, they&#8217;ve just <a href="http://www.theatlantic.com/issues/2004/03/katzman.htm" title="extended the SAT to include a Writing section">extended the <span class="caps">SAT</span> to include a Writing section</a>; now its out of 2400. Just great; more writing (good), less (comparative) math (VERY bad); welcome to America!</li>
 291             <li><a href="http://www.coolhomepages.com/" title="Cool homepages!">Cool homepages!</a></li>
 292             <li>A nice variant form of Magic multiplayer called <a href="http://pwrsrc.net/~mdw/hat.txt" title="hat">hat</a></li>
 293             <li>Some stupid Darksteel <a href="http://www.darksteelpromotion.com/" title="promotion ">promotion </a>for the Euros only</li>
 294             <li>How many <a href="http://www.crossandflame.com/forum/phpBBToGo/thread.php?topic_id=5497" title="forum members ">forum members </a>does it take to change a lightbulb?</li>
 295 rizwank 1.1 <li><a href="http://sage.tv/" title="PC based PVR software">PC based <span class="caps">PVR</span> software</a></li>
 296             <li>Some girls on <a href="http://www.cultzero.com/search.php?o=20&amp;f=search&amp;gender=F&amp;state=CA" title="Cultzero">Cultzero</a></li>
 297             </ul>
 298             
 299             <p><i>I really should just make a page for magic strategy articles I want to read ;p<br />
 300             </i>
 301             * <a href="http://www.brainburst.com/db/article.asp?ID=3777" title="The Grand Unified Theory: Advantage - VCA and Tempo ">The Grand Unified Theory: Advantage - <span class="caps">VCA</span> and Tempo </a><br />
 302             * <a href="http://www.brainburst.com/db/article.asp?ID=3799" title="Back to Basics: Sealed Deck Exercise">Back to Basics: Sealed Deck Exercise</a> </p>
 303             
 304             
 305             <ul>
 306             <li>The coolest bittorrenting group - <a href="http://www.mvgroup.org/index.php" title="educational stuff!">educational stuff!</a></li>
 307             <li>I need to <a href="http://www.ss.ca.gov/elections/elections_vr.htm" title="register ">register </a>to vote after the primaries</li>
 308             <li>The Final Fantasy Music <a href="http://www.square-enix-usa.com/uematsu/concert/index.html" title="Concert ">Concert </a>thingie</li>
 309             <li>Java <a href="http://settlers.cs.northwestern.edu/server2/index.html" title="Settlers of Catan">Settlers of Catan</a> (COOL!)<br />
 310             *Another <a href="http://www.news2me.com/" title="Newsgroup server">Newsgroup server</a> perhaps?</li>
 311             <li><a href="http://www.wizards.com/duelmasters/tcg/dm_tcg.asp" title="Duelmasters">Duelmasters</a>, the new <span class="caps">CCG</span> thats supposed to be explosive</li>
 312             <li>Stuff on <a href="http://www.everything2.com/index.pl?node_id=397479&amp;lastnode_id=1080086" title="Everything2.com">Everything2.com</a> and <a href="http://www.h2g2.com" title="H2g2 ">H2g2 </a>are cool</li>
 313             </ul>
 314             
 315             <p><b> dating stuff </b><br />
 316 rizwank 1.1 * Interesting <a href="http://personals.yahoo.com/us/personals-1075022152-325734" title="Yahoo Personal">Yahoo Personal</a> - in the ville though<br />
 317             * <a href="http://meetme.hotornot.com/" title="My Hot or Not Matches">My Hot or Not Matches</a><br />
 318             * <a href="http://www.sexinfo101.com/" title="Sex Tips and Dating advice">Sex Tips and Dating advice</a><br />
 319             * <a href="http://www.friendster.com/user.jsp?id=208322" title="Friendster ">Friendster </a>and <a href="http://www.orkut.com" title="Orkut ">Orkut </a>can be very addicting, it seems.<br />
 320             * <a href="http://www.orkut.com/Profile.aspx?uid=10440737917362129314" title="A cute girl (among others)">A cute girl (among others)</a> on Orkut<br />
 321             * <a href="http://www.orkut.com/Profile.aspx?uid=15479600847040566186" title="Another totally cool seeming geek">Another totally cool seeming geek</a><br />
 322             * Orkut members at <a href="http://www.orkut.com/CommMembers.aspx?cmm=82" title="Caltech ">Caltech </a>and <a href="http://www.orkut.com/Community.aspx?cmm=561" title="Harvey Mudd ">Harvey Mudd </a>(Swoon) &#8230; they have <span class="caps">GIRLS</span> there! </p>
 323             
 324             
 325             	
 326             
 327             
 328             
 329             <div class="posted">
 330             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000303" title="Permanent Link to this Post.">05:09 PM</a><?php
 331             if ($hits) { 
 332                print " | Read ";
 333                echo "$hits";
 334                print " time";
 335                if($hits != 1) echo 's';
 336             }
 337 rizwank 1.1 ?>
 338             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=303" onclick="OpenComments(this.href); return false">Comments (0)</a>
 339             	
 340             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=303" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 341             	
 342             </div>
 343             
 344             </div>
 345             <?php
 346             
 347             // display the list of referers
 348             echo '<div class="sidetitle">Referrers</div>', "\n";
 349             echo '<div class="side">', "\n";
 350             
 351             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=303 GROUP BY referer ORDER BY count DESC, title';
 352             
 353             $rs = mysql_query( $sql );
 354             $n = 0;
 355             
 356             while( $row = mysql_fetch_assoc( $rs ) ) {
 357               $referer1 = $row['referer'];
 358 rizwank 1.1   $title = $row['title'];
 359               $count = $row['count'];
 360               $search = $row['search'];
 361             
 362               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 363                 $n++;
 364                 echo '<a href="', $referer1, '" target="_blank">';
 365                 echo $title . "</a> [" . $count . "]<br />\n";
 366               }
 367             }
 368             
 369             if (!($n)) {
 370                echo "No referrals yet<br />";
 371             }
 372             else {
 373             echo "<br />\n";
 374             echo 'referrers [referrals]<br />';
 375             }
 376             echo '</div>';
 377             
 378             echo "<div class='sidetitle'>Search Terms</div>\n";
 379 rizwank 1.1 echo "<div class='side'>";
 380             
 381             $rs = mysql_query( $sql );
 382             $n = 0;
 383             
 384             while( $row = mysql_fetch_assoc( $rs ) ) {
 385               $query = '';
 386             
 387               $referer1 = $row['referer'];
 388               $title = $row['title'];
 389               $count = $row['count'];
 390               $search = $row['search'];
 391             
 392               if ($search == 1) {
 393                 $n++;
 394                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 395                 echo $query . ' [' . $count . ']' . "<br />\n";
 396               }
 397             }
 398             
 399             if (!($n)) { echo "No search terms yet<br />"; }
 400 rizwank 1.1 else { echo "<br />search terms [hits]"; }
 401             echo "</div>";
 402             ?>
 403             
 404             
 405             
 406             <!--
 407             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 408                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 409                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 410             <rdf:Description
 411                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000302"
 412                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/301"
 413                 dc:title="Shake it..."
 414                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000302"
 415                 dc:subject="Home"
 416                 dc:description="CNN.com - Polaroid warns buyers not to &amp;#8216;shake it&amp;#8217; - Feb. 18, 2004 LONDON, England (Reuters) &amp;#8212; OutKast fans like to &amp;#8220;shake it like a Polaroid picture,&amp;#8221; but the instant camera maker is warning consumers that taking the advice of..."
 417                 dc:creator="Rizwank"
 418                 dc:date="2004-02-21T09:41:07-08:00" />
 419             </rdf:RDF>
 420             -->
 421 rizwank 1.1 
 422             
 423             <h2 class="date">February 21, 2004</h2>
 424             
 425             
 426             <div class="blogbody">
 427             <a name="000302"></a>
 428             <?php
 429             
 430             // record the referer
 431             if ($my_ip !== $remote_ip) {
 432                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (302, '$referer', '', $time)" );
 433             }
 434             
 435             // get the no. of times this entry has been read
 436             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=302' );
 437             $row = mysql_fetch_row( $rs );
 438             $hits = $row[0];
 439             
 440             ?>
 441             <h3 class="title">Shake it...</h3>
 442 rizwank 1.1  
 443             <p><a title="CNN.com - Polaroid warns buyers not to 'shake it' - Feb. 18, 2004" href="http://www.cnn.com/2004/TECH/ptech/02/17/polaroid.warns.reut/index.html"><span class="caps">  <table align="left"><tr valign="bottom"><td>
 444                <p style="font-size:16pt"><b>
 445                 C</b>
 446                </p>
 447               </td></tr></table>
 448              NN</span>.com - Polaroid warns buyers not to &#8216;shake it&#8217; - Feb. 18, 2004</a></p>
 449             
 450             <p><span class="caps">LONDON, </span>England (Reuters) &#8212; OutKast fans like to &#8220;shake it like a Polaroid picture,&#8221; but the instant camera maker is warning consumers that taking the advice of the hip-hop stars could ruin your snapshots. </p>
 451             
 452             
 453             	
 454             
 455             
 456             
 457             <div class="posted">
 458             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000302" title="Permanent Link to this Post.">09:41 AM</a><?php
 459             if ($hits) { 
 460                print " | Read ";
 461                echo "$hits";
 462                print " time";
 463 rizwank 1.1    if($hits != 1) echo 's';
 464             }
 465             ?>
 466             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=302" onclick="OpenComments(this.href); return false">Comments (0)</a>
 467             	
 468             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=302" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 469             	
 470             </div>
 471             
 472             </div>
 473             <?php
 474             
 475             // display the list of referers
 476             echo '<div class="sidetitle">Referrers</div>', "\n";
 477             echo '<div class="side">', "\n";
 478             
 479             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=302 GROUP BY referer ORDER BY count DESC, title';
 480             
 481             $rs = mysql_query( $sql );
 482             $n = 0;
 483             
 484 rizwank 1.1 while( $row = mysql_fetch_assoc( $rs ) ) {
 485               $referer1 = $row['referer'];
 486               $title = $row['title'];
 487               $count = $row['count'];
 488               $search = $row['search'];
 489             
 490               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 491                 $n++;
 492                 echo '<a href="', $referer1, '" target="_blank">';
 493                 echo $title . "</a> [" . $count . "]<br />\n";
 494               }
 495             }
 496             
 497             if (!($n)) {
 498                echo "No referrals yet<br />";
 499             }
 500             else {
 501             echo "<br />\n";
 502             echo 'referrers [referrals]<br />';
 503             }
 504             echo '</div>';
 505 rizwank 1.1 
 506             echo "<div class='sidetitle'>Search Terms</div>\n";
 507             echo "<div class='side'>";
 508             
 509             $rs = mysql_query( $sql );
 510             $n = 0;
 511             
 512             while( $row = mysql_fetch_assoc( $rs ) ) {
 513               $query = '';
 514             
 515               $referer1 = $row['referer'];
 516               $title = $row['title'];
 517               $count = $row['count'];
 518               $search = $row['search'];
 519             
 520               if ($search == 1) {
 521                 $n++;
 522                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 523                 echo $query . ' [' . $count . ']' . "<br />\n";
 524               }
 525             }
 526 rizwank 1.1 
 527             if (!($n)) { echo "No search terms yet<br />"; }
 528             else { echo "<br />search terms [hits]"; }
 529             echo "</div>";
 530             ?>
 531             
 532             
 533             
 534             <!--
 535             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 536                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 537                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 538             <rdf:Description
 539                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000301"
 540                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/300"
 541                 dc:title="Blog Redesign"
 542                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000301"
 543                 dc:subject=""
 544                 dc:description="Here it goes again. I&amp;#8217;m up in arms about re-designing my blog ,and after dinner, some school coding and seeing suman uncle, its midnight and I&amp;#8217;m not in the mood to spend 8 hours reprogramming my blog. Plus my design..."
 545                 dc:creator="Rizwank"
 546                 dc:date="2004-02-17T00:10:04-08:00" />
 547 rizwank 1.1 </rdf:RDF>
 548             -->
 549             
 550             
 551             <h2 class="date">February 17, 2004</h2>
 552             
 553             
 554             <div class="blogbody">
 555             <a name="000301"></a>
 556             <?php
 557             
 558             // record the referer
 559             if ($my_ip !== $remote_ip) {
 560                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (301, '$referer', '', $time)" );
 561             }
 562             
 563             // get the no. of times this entry has been read
 564             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=301' );
 565             $row = mysql_fetch_row( $rs );
 566             $hits = $row[0];
 567             
 568 rizwank 1.1 ?>
 569             <h3 class="title">Blog Redesign</h3>
 570              
 571             <p>  <table align="left"><tr valign="bottom"><td>
 572                <p style="font-size:16pt"><b>
 573                 H</b>
 574                </p>
 575               </td></tr></table>
 576              ere it goes again.</p>
 577             
 578             <p>I&#8217;m up in arms about re-designing my blog ,and after dinner, some school coding and seeing suman uncle, its midnight and I&#8217;m not in the mood to spend 8 hours reprogramming my blog.</p>
 579             
 580             <p>Plus my design skills aren&#8217;t that good.</p>
 581             
 582             <p>Any thoughts on these?</p>
 583             
 584             <p>http://www.kottke.org/<br />
 585             its busy but <span class="caps">I REALLY</span> like this http://www.highindustrial.com/<br />
 586             http://wizbangblog.com/archives/000453.php<br />
 587             http://a.wholelottanothing.org/archives.blah/006625<br />
 588             I really like how http://philringnalda.com/ handles categroies<br />
 589 rizwank 1.1 http://stupidevilbastard.com/<br />
 590             http://www.fultonchain.net/archives.php<br />
 591             http://www.antipixel.com/blog/ !!<br />
 592             http://www.salon.com/tech/feature/2004/02/16/agua_caliente/index_np.html the design isnt bad!<br />
 593             http://www.dandelionwine.org/</p>
 594             
 595             <p>I really should <span class="caps">TRY</span> to design on my own ;p</p>
 596             
 597             <p>I might find some basics from<br />
 598             http://blogstyles.com/</p>
 599             
 600             <p>I&#8217;m going to divide the site into six categories, <br />
 601             Love affairs<br />
 602             School affairs<br />
 603             Fun times (magic, places I go)<br />
 604             Link central (all the random cool links I find)<br />
 605             Code central (code bases for my project and chatter about CS)<br />
 606             Rants</p>
 607             
 608             <p>Not sure where work stuff is going to fit.<br />
 609             I have to get my Uzbek photos ready as well ;p</p>
 610 rizwank 1.1 
 611             
 612             	
 613             
 614             
 615             
 616             <div class="posted">
 617             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000301" title="Permanent Link to this Post.">12:10 AM</a><?php
 618             if ($hits) { 
 619                print " | Read ";
 620                echo "$hits";
 621                print " time";
 622                if($hits != 1) echo 's';
 623             }
 624             ?>
 625             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=301" onclick="OpenComments(this.href); return false">Comments (0)</a>
 626             	
 627             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=301" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 628             	
 629             </div>
 630             
 631 rizwank 1.1 </div>
 632             <?php
 633             
 634             // display the list of referers
 635             echo '<div class="sidetitle">Referrers</div>', "\n";
 636             echo '<div class="side">', "\n";
 637             
 638             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=301 GROUP BY referer ORDER BY count DESC, title';
 639             
 640             $rs = mysql_query( $sql );
 641             $n = 0;
 642             
 643             while( $row = mysql_fetch_assoc( $rs ) ) {
 644               $referer1 = $row['referer'];
 645               $title = $row['title'];
 646               $count = $row['count'];
 647               $search = $row['search'];
 648             
 649               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 650                 $n++;
 651                 echo '<a href="', $referer1, '" target="_blank">';
 652 rizwank 1.1     echo $title . "</a> [" . $count . "]<br />\n";
 653               }
 654             }
 655             
 656             if (!($n)) {
 657                echo "No referrals yet<br />";
 658             }
 659             else {
 660             echo "<br />\n";
 661             echo 'referrers [referrals]<br />';
 662             }
 663             echo '</div>';
 664             
 665             echo "<div class='sidetitle'>Search Terms</div>\n";
 666             echo "<div class='side'>";
 667             
 668             $rs = mysql_query( $sql );
 669             $n = 0;
 670             
 671             while( $row = mysql_fetch_assoc( $rs ) ) {
 672               $query = '';
 673 rizwank 1.1 
 674               $referer1 = $row['referer'];
 675               $title = $row['title'];
 676               $count = $row['count'];
 677               $search = $row['search'];
 678             
 679               if ($search == 1) {
 680                 $n++;
 681                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 682                 echo $query . ' [' . $count . ']' . "<br />\n";
 683               }
 684             }
 685             
 686             if (!($n)) { echo "No search terms yet<br />"; }
 687             else { echo "<br />search terms [hits]"; }
 688             echo "</div>";
 689             ?>
 690             
 691             
 692             
 693             <!--
 694 rizwank 1.1 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 695                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 696                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 697             <rdf:Description
 698                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000300"
 699                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/299"
 700                 dc:title="M&amp;Ms"
 701                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000300"
 702                 dc:subject="Home"
 703                 dc:description="CNN.com - M&amp;amp;M&amp;#8217;s obsession leads to physics discovery - Feb. 16, 2004 WASHINGTON (Reuters) &amp;#8212; Princeton physicist Paul Chaikin&amp;#8217;s passion for M&amp;amp;M&amp;#8217;s candies was so well known that his students played a sweet practical joke on him by leaving a..."
 704                 dc:creator="Rizwank"
 705                 dc:date="2004-02-16T19:43:01-08:00" />
 706             </rdf:RDF>
 707             -->
 708             
 709             
 710             <h2 class="date">February 16, 2004</h2>
 711             
 712             
 713             <div class="blogbody">
 714             <a name="000300"></a>
 715 rizwank 1.1 <?php
 716             
 717             // record the referer
 718             if ($my_ip !== $remote_ip) {
 719                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (300, '$referer', '', $time)" );
 720             }
 721             
 722             // get the no. of times this entry has been read
 723             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=300' );
 724             $row = mysql_fetch_row( $rs );
 725             $hits = $row[0];
 726             
 727             ?>
 728             <h3 class="title">M&Ms</h3>
 729              
 730             <p><a title="CNN.com - M&amp;M's obsession leads to physics discovery - Feb. 16, 2004" href="http://www.cnn.com/2004/TECH/science/02/16/science.candy.reut/index.html"><span class="caps">  <table align="left"><tr valign="bottom"><td>
 731                <p style="font-size:16pt"><b>
 732                 C</b>
 733                </p>
 734               </td></tr></table>
 735              NN</span>.com - <span class="caps">M&amp;M</span>&#8217;s obsession leads to physics discovery - Feb. 16, 2004</a></p>
 736 rizwank 1.1 
 737             <p><span class="caps">WASHINGTON </span>(Reuters) &#8212; Princeton physicist Paul Chaikin&#8217;s passion for <span class="caps">M&amp;M</span>&#8217;s candies was so well known that his students played a sweet practical joke on him by leaving a 55-gallon drum of the candies in his office. </p>
 738             
 739             <p>Little did they know that their prank would lead to a physics breakthrough.</p>
 740             
 741             
 742             	
 743             
 744             
 745             
 746             <div class="posted">
 747             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000300" title="Permanent Link to this Post.">07:43 PM</a><?php
 748             if ($hits) { 
 749                print " | Read ";
 750                echo "$hits";
 751                print " time";
 752                if($hits != 1) echo 's';
 753             }
 754             ?>
 755             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=300" onclick="OpenComments(this.href); return false">Comments (0)</a>
 756             	
 757 rizwank 1.1 		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=300" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 758             	
 759             </div>
 760             
 761             </div>
 762             <?php
 763             
 764             // display the list of referers
 765             echo '<div class="sidetitle">Referrers</div>', "\n";
 766             echo '<div class="side">', "\n";
 767             
 768             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=300 GROUP BY referer ORDER BY count DESC, title';
 769             
 770             $rs = mysql_query( $sql );
 771             $n = 0;
 772             
 773             while( $row = mysql_fetch_assoc( $rs ) ) {
 774               $referer1 = $row['referer'];
 775               $title = $row['title'];
 776               $count = $row['count'];
 777               $search = $row['search'];
 778 rizwank 1.1 
 779               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 780                 $n++;
 781                 echo '<a href="', $referer1, '" target="_blank">';
 782                 echo $title . "</a> [" . $count . "]<br />\n";
 783               }
 784             }
 785             
 786             if (!($n)) {
 787                echo "No referrals yet<br />";
 788             }
 789             else {
 790             echo "<br />\n";
 791             echo 'referrers [referrals]<br />';
 792             }
 793             echo '</div>';
 794             
 795             echo "<div class='sidetitle'>Search Terms</div>\n";
 796             echo "<div class='side'>";
 797             
 798             $rs = mysql_query( $sql );
 799 rizwank 1.1 $n = 0;
 800             
 801             while( $row = mysql_fetch_assoc( $rs ) ) {
 802               $query = '';
 803             
 804               $referer1 = $row['referer'];
 805               $title = $row['title'];
 806               $count = $row['count'];
 807               $search = $row['search'];
 808             
 809               if ($search == 1) {
 810                 $n++;
 811                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 812                 echo $query . ' [' . $count . ']' . "<br />\n";
 813               }
 814             }
 815             
 816             if (!($n)) { echo "No search terms yet<br />"; }
 817             else { echo "<br />search terms [hits]"; }
 818             echo "</div>";
 819             ?>
 820 rizwank 1.1 
 821             
 822             
 823             <!--
 824             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 825                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 826                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 827             <rdf:Description
 828                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000299"
 829                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/298"
 830                 dc:title="My cool draft"
 831                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000299"
 832                 dc:subject="Home"
 833                 dc:description="I ran a draft at Level 6 Saturday, went very nice, I went 5-0 with a draw at the first. I also traded for two Pristine Angels for a pack each, I was very happy. The draft deck, the only..."
 834                 dc:creator="Rizwank"
 835                 dc:date="2004-02-16T17:06:06-08:00" />
 836             </rdf:RDF>
 837             -->
 838             
 839             
 840             
 841 rizwank 1.1 
 842             <div class="blogbody">
 843             <a name="000299"></a>
 844             <?php
 845             
 846             // record the referer
 847             if ($my_ip !== $remote_ip) {
 848                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (299, '$referer', '', $time)" );
 849             }
 850             
 851             // get the no. of times this entry has been read
 852             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=299' );
 853             $row = mysql_fetch_row( $rs );
 854             $hits = $row[0];
 855             
 856             ?>
 857             <h3 class="title">My cool draft</h3>
 858              
 859             <p>  <table align="left"><tr valign="bottom"><td>
 860                <p style="font-size:16pt"><b>
 861                 I</b>
 862 rizwank 1.1    </p>
 863               </td></tr></table>
 864               ran a draft at Level 6 Saturday, went very nice, I went 5-0 with a draw at the first. I also traded for two <a href="javascript:autoCardWindow('Pristine%20Angel')" title="Card Info on Pristine Angel">Pristine Angel</a>s for a pack each, I was very happy.</p>
 865             
 866             <p>The draft deck, the only ones that I&#8217;ve really done well with.  <img src="http://www.geekymedia.com/magic/black_mana.gif" height="12" width="12" alt="black_mana" />  <img src="http://www.geekymedia.com/magic/green_mana.gif" height="12" width="12" alt="green_mana" />  seems to work with me :). This was <span class="caps">MIR</span>/DS/DS btw.</p>
 867             
 868             <table><tr><td>2</td><td><a href="http://www.amazon.com/exec/obidos/external-search/002-0187043-4860819?index=blended&amp;tag=geekymedia-20&amp;keyword=Chittering%20Rats" >Chittering Rats</a></td></tr><tr><td>2</td><td><a href="javascript:autoCardWindow('Echoing%20Decay')" title="Card Info on Echoing Decay">Echoing Decay</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Murderous%20Spoils')" title="Card Info on Murderous Spoils">Murderous Spoils</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Grimclaw%20Bats')" title="Card Info on Grimclaw Bats">Grimclaw Bats</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Essence%20Drain')" title="Card Info on Essence Drain">Essence Drain</a></td></tr><tr><td>2</td><td><a href="javascript:autoCardWindow('Stand%20Together')" title="Card Info on Stand Together">Stand Together</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Rebuking%20Ceremony')" title="Card Info on Rebuking Ceremony">Rebuking Ceremony</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Creeping%20Mold')" title="Card Info on Creeping Mold">Creeping Mold</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Tel-Jilad%20Exile')" title="Card Info on Tel-Jilad Exile">Tel-Jilad Exile</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Tangle%20Spider')" title="Card Info on Tangle Spider">Tangle Spider</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Silver%20Myr')" title="Card Info on Silver Myr">Silver Myr</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Triskelion')" title="Card Info on Triskelion">Triskelion</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Leonin%20Battlemage')" title="Card Info on Leonin Battlemage">Leonin Battlemage</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Talon%20of%20Pain')" title="Card Info on Talon of Pain">Talon of Pain</a></td></tr><tr><td>3</td><td><a href="javascript:autoCardWindow('Neurok%20Prodigy')" title="Card Info on Neurok Prodigy">Neurok Prodigy</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Thirst%20for%20Knowledge')" title="Card Info on Thirst for Knowledge">Thirst for Knowledge</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Vedalken%20Engineer')" title="Card Info on Vedalken Engineer">Vedalken Engineer</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Tree%20of%20Tales')" title="Card Info on Tree of Tales">Tree of Tales</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Blinkmoth%20Nexus')" title="Card Info on Blinkmoth Nexus">Blinkmoth Nexus</a></td></tr><tr><td>1</td><td><a href="javascript:autoCardWindow('Second%20Sight')" title="Card Info on Second Sight">Second Sight</a></td></tr><tr><td>4</td><td><a href="javascript:autoCardWindow('Island')" title="Card Info on Island">Island</a></td></tr><tr><td>6</td><td><a href="javascript:autoCardWindow('Swamp')" title="Card Info on Swamp">Swamp</a></td></tr><tr><td>7</td><td><a href="javascript:autoCardWindow('Forest')" title="Card Info on Forest">Forest</a></td></tr></table><p>Anyhow, the deck was fun, pumping up Trisky was phenominal, and that <a href="javascript:autoCardWindow('Talon%20of%20Pain')" title="Card Info on Talon of Pain">Talon of Pain</a> is just incredibly good at creature removal&#8230;</p>
 869             
 870             <p>I&#8217;m liking the <a href="http://www.starcitygames.com/php/news/expandnews.php?Article=6691" title="DNA Minds Desire"><span class="caps">DNA </span>Minds Desire</a> deck I&#8217;ve been playing from <span class="caps">SCG,</span> as well as my regular  <img src="http://www.geekymedia.com/magic/black_mana.gif" height="12" width="12" alt="black_mana" />  Cleric deck.</p>
 871             
 872             <p><a href="http://www.starcitygames.com/php/news/expandnews.php?Article=6681" title="Rats and Cemetary">Rats and Cemetary</a></p>
 873             
 874             <p>Another interesting <a href="http://www.starcitygames.com/php/news/expandnews.php?Article=6706" title="Cleric">Cleric</a> deck.</p>
 875             
 876             <p>I should start going to see the <a href="http://www.rockyhorror.com/virgknow.html" title="Rocky Horror Picture Show">Rocky Horror Picture Show</a>. </p>
 877             
 878             
 879             	
 880             
 881             
 882             
 883 rizwank 1.1 <div class="posted">
 884             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000299" title="Permanent Link to this Post.">05:06 PM</a><?php
 885             if ($hits) { 
 886                print " | Read ";
 887                echo "$hits";
 888                print " time";
 889                if($hits != 1) echo 's';
 890             }
 891             ?>
 892             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=299" onclick="OpenComments(this.href); return false">Comments (1)</a>
 893             	
 894             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=299" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 895             	
 896             </div>
 897             
 898             </div>
 899             <?php
 900             
 901             // display the list of referers
 902             echo '<div class="sidetitle">Referrers</div>', "\n";
 903             echo '<div class="side">', "\n";
 904 rizwank 1.1 
 905             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=299 GROUP BY referer ORDER BY count DESC, title';
 906             
 907             $rs = mysql_query( $sql );
 908             $n = 0;
 909             
 910             while( $row = mysql_fetch_assoc( $rs ) ) {
 911               $referer1 = $row['referer'];
 912               $title = $row['title'];
 913               $count = $row['count'];
 914               $search = $row['search'];
 915             
 916               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 917                 $n++;
 918                 echo '<a href="', $referer1, '" target="_blank">';
 919                 echo $title . "</a> [" . $count . "]<br />\n";
 920               }
 921             }
 922             
 923             if (!($n)) {
 924                echo "No referrals yet<br />";
 925 rizwank 1.1 }
 926             else {
 927             echo "<br />\n";
 928             echo 'referrers [referrals]<br />';
 929             }
 930             echo '</div>';
 931             
 932             echo "<div class='sidetitle'>Search Terms</div>\n";
 933             echo "<div class='side'>";
 934             
 935             $rs = mysql_query( $sql );
 936             $n = 0;
 937             
 938             while( $row = mysql_fetch_assoc( $rs ) ) {
 939               $query = '';
 940             
 941               $referer1 = $row['referer'];
 942               $title = $row['title'];
 943               $count = $row['count'];
 944               $search = $row['search'];
 945             
 946 rizwank 1.1   if ($search == 1) {
 947                 $n++;
 948                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 949                 echo $query . ' [' . $count . ']' . "<br />\n";
 950               }
 951             }
 952             
 953             if (!($n)) { echo "No search terms yet<br />"; }
 954             else { echo "<br />search terms [hits]"; }
 955             echo "</div>";
 956             ?>
 957             
 958             
 959             
 960             <!--
 961             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 962                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 963                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 964             <rdf:Description
 965                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000298"
 966                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/297"
 967 rizwank 1.1     dc:title="One of those"
 968                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000298"
 969                 dc:subject=""
 970                 dc:description="Its one of those post - trying to do something blog entries. I&amp;#8217;ve written this one in mind many a time, don&amp;#8217;t think I ever actually blogged it. Have I mentioned how much I hate barring/clubbing? I&amp;#8217;ll walk in, thinking..."
 971                 dc:creator="Rizwank"
 972                 dc:date="2004-02-13T00:05:49-08:00" />
 973             </rdf:RDF>
 974             -->
 975             
 976             
 977             <h2 class="date">February 13, 2004</h2>
 978             
 979             
 980             <div class="blogbody">
 981             <a name="000298"></a>
 982             <?php
 983             
 984             // record the referer
 985             if ($my_ip !== $remote_ip) {
 986                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (298, '$referer', '', $time)" );
 987             }
 988 rizwank 1.1 
 989             // get the no. of times this entry has been read
 990             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=298' );
 991             $row = mysql_fetch_row( $rs );
 992             $hits = $row[0];
 993             
 994             ?>
 995             <h3 class="title">One of those</h3>
 996              
 997             <p>  <table align="left"><tr valign="bottom"><td>
 998                <p style="font-size:16pt"><b>
 999                 I</b>
1000                </p>
1001               </td></tr></table>
1002              ts one of those post - trying to do something blog entries.</p>
1003             
1004             <p>I&#8217;ve written this one in mind many a time, don&#8217;t think I ever actually blogged it.</p>
1005             
1006             <p>Have I mentioned how much I hate barring/clubbing?</p>
1007             
1008             <p>I&#8217;ll walk in, thinking I look decent, smile at the bouncer, grab a drink and pull up a chair. I&#8217;ll immediately notice the many groups of women, the thirty and fourty somethings, the random guys&#8230;</p>
1009 rizwank 1.1 
1010             <p>Well, let me lead up a bit better. The day was a long one, lots of time at home, downloading Scrubs episodes, coding for class and in general working. After a particularly good Scrubs episode and a verse of &#8220;Brothers in Arms&#8221; in my head, I knocked into inspired mode&#8230; the ones that occur from my medication and a really good thought hitting at the same time (sans the meds this time) &#8230; and the world looked conquerable &#8212;- nothing I couldn&#8217;t do, <span class="caps">UCLA</span> won&#8217;t be a problem etc&#8230;</p>
1011             
1012             <p>(By the way, during this time, the amount of time I spent playing/thinking about Magic seemed utterly retarded; the scrubs episodes as totally irrelevant, etc.)</p>
1013             
1014             <p>Day passed on and I decided that <span class="caps">I MUST</span> go out. Delayed as much as possible, including emailing HeatherW, in the attempt to find <em>anything</em> that might be social in this hell hole that didn&#8217;t involve clubbing or a bar. Showered shaved, invited Brian and Nichole, saying that I had to spend time with non-gamers/non-glasses wearers.</p>
1015             
1016             <p>Look nice.</p>
1017             
1018             <p>Show up at the bar, have a half Corona, panic overtakes me, and I end up splitting after about ten minutes. A few randomly cute girls in groups, but some thought of Heather telling me that I objectify women starts floating in my head and I can&#8217;t approach anyone&#8230; Tried to call her, got Joel instead, and we talked politics for ten&#8230; Got to Brian and Nicholes, watched &#8216;The Surreal Life&#8217; and I split again. </p>
1019             
1020             <p>Went back to the bar. It wasn&#8217;t going to have the best of me.</p>
1021             
1022             <p>Got back, had a Pepsi and looked around. A girl with glasses that I had seen the first visit was there&#8230; then Outkast&#8217;s &#8220;Hey ya&#8221; came on, and of course, I chickened out and didn&#8217;t dance. There wasn&#8217;t a massive dancing group but there were a few. A pair of girls wandered on and clung together after a rather large Hispanic man approached them&#8230; and continued to dance with them although clearly they didnt want him around. More music passed and some white guy flirted with one of the girls and I didn&#8217;t summon the guts in time to go try to dance with the other. Glasses girl sat down cause she was being surrounded by &#8230; guys; and I asked her to dance. Summoned all my courage and did it. Got shot down of course. I&#8217;ve learned to deal with it, but I&#8217;d <span class="caps">ONCE</span> like a good bar/club story. Tried to buy some girls a round later but I just got odd looks.</p>
1023             
1024             <p>Just as importantly, this serial picking up on girls isn&#8217;t me, and I don&#8217;t know why I try to be like that.</p>
1025             
1026             <p>Its just I&#8217;ve got no other alternatives to meet people&#8230; seriously. I don&#8217;t have dorms, clubs, friends&#8217;s friends&#8230; at least at <span class="caps">UCLA I KNEW</span> that if I tried harder&#8230; but it isn&#8217;t so right now. </p>
1027             
1028             <p>Its very easy to vicitimize oneself, esp when I start getting paranoid, acting intellctual, as if I am making a study of the dating habits of <i>Homo sapiens</i>, or whatever to detach myself from the din of a bar&#8230; but I&#8217;m just like everyone else; &#8230; one can think that I&#8217;ve been led to feel myself as a victim or different due to what HeatherW called as my &#8216;team of shrinks&#8217;, but I&#8217;d like to think I victimize myself less&#8230; </p>
1029             
1030 rizwank 1.1 <p>One of thes days I&#8217;ll learn that I dont like these places, and I&#8217;m not right for them. I&#8217;ll learn that im <span class="caps">NOT</span> that kind of guy and that I&#8217;m not likely to meet someone right for me AT this kind of place. I&#8217;m not an average guy and I won&#8217;t be happy with an average girl (nor would they be with me) &#8230; by average, I&#8217;m not being elitest, I mean different .. althought I&#8217;m not as out there as I&#8217;d have myself believe.</p>
1031             
1032             <p>Its too easy to get trapped into ideologies&#8230; that online dating is terrible, or the saviour of the gods&#8230; that playing magic and doing gaming is a reasonable alternative to clubbing or hanging out with others&#8230;</p>
1033             
1034             <p>I&#8217;d just like <span class="caps">SOMETHING</span> to be simple. Actually, I&#8217;d like this to be simple. I can be social, I&#8217;m not your avg. nerd; I like to talk to people and meet new people; can sit down and have a chat with a totally new person&#8230; I just can&#8217;t meet people in crowds, I come off as awkard, or something. Hating crowds doesn&#8217;t help. Being overly self-concious doesn&#8217;t either&#8230; but thats a human afflicition.</p>
1035             
1036             <p>I tried at the club, at least, and thats a victory of its own.</p>
1037             
1038             <p>A victory over myself.</p>
1039             
1040             <p>/me wants to learn how to not overthink things.</p>
1041             
1042             <p>I&#8217;m gonna see heatherw tomorrow, I&#8217;m sure this&#8217;ll come up (unless she cancels in fear of this conversation)</p>
1043             
1044             <p>-rk</p>
1045             
1046             
1047             	
1048             
1049             
1050             
1051 rizwank 1.1 <div class="posted">
1052             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000298" title="Permanent Link to this Post.">12:05 AM</a><?php
1053             if ($hits) { 
1054                print " | Read ";
1055                echo "$hits";
1056                print " time";
1057                if($hits != 1) echo 's';
1058             }
1059             ?>
1060             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=298" onclick="OpenComments(this.href); return false">Comments (0)</a>
1061             	
1062             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=298" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1063             	
1064             </div>
1065             
1066             </div>
1067             <?php
1068             
1069             // display the list of referers
1070             echo '<div class="sidetitle">Referrers</div>', "\n";
1071             echo '<div class="side">', "\n";
1072 rizwank 1.1 
1073             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=298 GROUP BY referer ORDER BY count DESC, title';
1074             
1075             $rs = mysql_query( $sql );
1076             $n = 0;
1077             
1078             while( $row = mysql_fetch_assoc( $rs ) ) {
1079               $referer1 = $row['referer'];
1080               $title = $row['title'];
1081               $count = $row['count'];
1082               $search = $row['search'];
1083             
1084               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1085                 $n++;
1086                 echo '<a href="', $referer1, '" target="_blank">';
1087                 echo $title . "</a> [" . $count . "]<br />\n";
1088               }
1089             }
1090             
1091             if (!($n)) {
1092                echo "No referrals yet<br />";
1093 rizwank 1.1 }
1094             else {
1095             echo "<br />\n";
1096             echo 'referrers [referrals]<br />';
1097             }
1098             echo '</div>';
1099             
1100             echo "<div class='sidetitle'>Search Terms</div>\n";
1101             echo "<div class='side'>";
1102             
1103             $rs = mysql_query( $sql );
1104             $n = 0;
1105             
1106             while( $row = mysql_fetch_assoc( $rs ) ) {
1107               $query = '';
1108             
1109               $referer1 = $row['referer'];
1110               $title = $row['title'];
1111               $count = $row['count'];
1112               $search = $row['search'];
1113             
1114 rizwank 1.1   if ($search == 1) {
1115                 $n++;
1116                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1117                 echo $query . ' [' . $count . ']' . "<br />\n";
1118               }
1119             }
1120             
1121             if (!($n)) { echo "No search terms yet<br />"; }
1122             else { echo "<br />search terms [hits]"; }
1123             echo "</div>";
1124             ?>
1125             
1126             
1127             
1128             <!--
1129             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1130                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1131                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1132             <rdf:Description
1133                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000297"
1134                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/296"
1135 rizwank 1.1     dc:title="Valintines"
1136                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000297"
1137                 dc:subject=""
1138                 dc:description="Oh lovely, I just realized that Valintines day is coming. I was about to say that I had never been with someone during V-day, but thats not true, I was with Nikki . I have a really cute picture of..."
1139                 dc:creator="Rizwank"
1140                 dc:date="2004-02-11T14:32:23-08:00" />
1141             </rdf:RDF>
1142             -->
1143             
1144             
1145             <h2 class="date">February 11, 2004</h2>
1146             
1147             
1148             <div class="blogbody">
1149             <a name="000297"></a>
1150             <?php
1151             
1152             // record the referer
1153             if ($my_ip !== $remote_ip) {
1154                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (297, '$referer', '', $time)" );
1155             }
1156 rizwank 1.1 
1157             // get the no. of times this entry has been read
1158             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=297' );
1159             $row = mysql_fetch_row( $rs );
1160             $hits = $row[0];
1161             
1162             ?>
1163             <h3 class="title">Valintines</h3>
1164              
1165             <p>  <table align="left"><tr valign="bottom"><td>
1166                <p style="font-size:16pt"><b>
1167                 O</b>
1168                </p>
1169               </td></tr></table>
1170              h lovely, I just realized that Valintines day is coming. I was about to say that I had never been with someone during V-day, but thats not true, I was with  (ex-gf2)  . I have a really cute picture of her putting V-day hearts on my paper (as I was studying insanely at the time)</p>
1171             
1172             <p>Reminds me to keep up with my few H/n emails.</p>
1173             
1174             <p>Also to call Robin to talk to her answering machine. Yeah I&#8217;ve pretty much given up there.</p>
1175             
1176             
1177 rizwank 1.1 	
1178             
1179             
1180             
1181             <div class="posted">
1182             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000297" title="Permanent Link to this Post.">02:32 PM</a><?php
1183             if ($hits) { 
1184                print " | Read ";
1185                echo "$hits";
1186                print " time";
1187                if($hits != 1) echo 's';
1188             }
1189             ?>
1190             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=297" onclick="OpenComments(this.href); return false">Comments (0)</a>
1191             	
1192             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=297" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1193             	
1194             </div>
1195             
1196             </div>
1197             <?php
1198 rizwank 1.1 
1199             // display the list of referers
1200             echo '<div class="sidetitle">Referrers</div>', "\n";
1201             echo '<div class="side">', "\n";
1202             
1203             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=297 GROUP BY referer ORDER BY count DESC, title';
1204             
1205             $rs = mysql_query( $sql );
1206             $n = 0;
1207             
1208             while( $row = mysql_fetch_assoc( $rs ) ) {
1209               $referer1 = $row['referer'];
1210               $title = $row['title'];
1211               $count = $row['count'];
1212               $search = $row['search'];
1213             
1214               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1215                 $n++;
1216                 echo '<a href="', $referer1, '" target="_blank">';
1217                 echo $title . "</a> [" . $count . "]<br />\n";
1218               }
1219 rizwank 1.1 }
1220             
1221             if (!($n)) {
1222                echo "No referrals yet<br />";
1223             }
1224             else {
1225             echo "<br />\n";
1226             echo 'referrers [referrals]<br />';
1227             }
1228             echo '</div>';
1229             
1230             echo "<div class='sidetitle'>Search Terms</div>\n";
1231             echo "<div class='side'>";
1232             
1233             $rs = mysql_query( $sql );
1234             $n = 0;
1235             
1236             while( $row = mysql_fetch_assoc( $rs ) ) {
1237               $query = '';
1238             
1239               $referer1 = $row['referer'];
1240 rizwank 1.1   $title = $row['title'];
1241               $count = $row['count'];
1242               $search = $row['search'];
1243             
1244               if ($search == 1) {
1245                 $n++;
1246                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1247                 echo $query . ' [' . $count . ']' . "<br />\n";
1248               }
1249             }
1250             
1251             if (!($n)) { echo "No search terms yet<br />"; }
1252             else { echo "<br />search terms [hits]"; }
1253             echo "</div>";
1254             ?>
1255             
1256             
1257             
1258             <!--
1259             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1260                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1261 rizwank 1.1          xmlns:dc="http://purl.org/dc/elements/1.1/">
1262             <rdf:Description
1263                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000296"
1264                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/295"
1265                 dc:title="Whats cooler than being cool?"
1266                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000296"
1267                 dc:subject=""
1268                 dc:description="Ice Cold! Interesting enough few days. I had a blog title all worked out for a recap of the GP, and I&amp;#8217;ll write that as soon as I get back. (I&amp;#8217;m on a break &amp;#8216;tween midterms.) Judging Magic is a..."
1269                 dc:creator="Rizwank"
1270                 dc:date="2004-02-11T14:21:39-08:00" />
1271             </rdf:RDF>
1272             -->
1273             
1274             
1275             
1276             
1277             <div class="blogbody">
1278             <a name="000296"></a>
1279             <?php
1280             
1281             // record the referer
1282 rizwank 1.1 if ($my_ip !== $remote_ip) {
1283                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (296, '$referer', '', $time)" );
1284             }
1285             
1286             // get the no. of times this entry has been read
1287             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=296' );
1288             $row = mysql_fetch_row( $rs );
1289             $hits = $row[0];
1290             
1291             ?>
1292             <h3 class="title">Whats cooler than being cool?</h3>
1293              
1294             <p>  <table align="left"><tr valign="bottom"><td>
1295                <p style="font-size:16pt"><b>
1296                 I</b>
1297                </p>
1298               </td></tr></table>
1299              ce Cold!</p>
1300             
1301             <p>Interesting enough few days. I had a blog title all worked out for a recap of the <span class="caps">GP,</span> and I&#8217;ll write that as soon as I get back. (I&#8217;m on a break &#8216;tween midterms.)</p>
1302             
1303 rizwank 1.1 <p>Judging Magic is a new obsession for me. I&#8217;m spending too much time in <span class="caps">IRC </span>(EFnet #mtgjudge) and planning for upcoming events. That being said, I&#8217;m probably working <span class="caps">GP </span>Columbus (sponsorship) and possibly <span class="caps">GP </span>Washington (housing only)&#8230; My goal is to be ready for the level two test by <span class="caps">PT </span>San Diego, so that if I can take it, I can work the main event&#8230;! (Its up to Rune whether I can a) Test for L2 early or b) Work the PT as a L1) &#8230; Sheldon has some issues; but those are for the next  blog entry.</p>
1304             
1305             <p>Exams are going fine, one down, one upcoming. Friday is a day off; I&#8217;ve got a significant amount of projects in classes due next week so the timing is great; but with such a long break (Thursday - Sunday), I really feel I should be going somewhere or doing something. (Or dating someone.) But thats a constant point anyhow ;p</p>
1306             
1307             <p>I&#8217;ve gotten the ball rolling on returning to <span class="caps">UCLA,</span> and its freaking me out. John, my counselor, heard some determination in my voice and thinks I should be ready now; but I&#8217;m scared to all hell. First, living with the &#8216;rents <b>has</b> helped with school focus and I don&#8217;t know what I&#8217;ll do; do I drive to <span class="caps">UCLA,</span> find an apartment down there? Live with extended family of some sort? Live in my car? ;p</p>
1308             
1309             <p>Second, <span class="caps">UCLA</span> is a <span class="caps">LOT</span> harder than <span class="caps">CSU </span>Pomona. Lets be honest, I&#8217;m not being elitest or in any way degrading Pomona or its students, but what is expected of students <span class="caps">ISN&#8217;T</span> nearly close to that at <span class="caps">UCLA. </span>Stuff I get away with at Pomona wouldn&#8217;t be accepted at <span class="caps">LA,</span> and the question &#8220;Am I only doing well because Pomona is easier?&#8221; floats to the top of my mind (constantly).</p>
1310             
1311             <p>All that being said, if I go back, and everything transfers ok, I&#8217;ll be at around (halts to Remotely Anywhere to my home machine to turn on Kazaa and look at my school progress Excel file)&#8230; Ok, I can&#8217;t remote in for some reason, so I started Kazaa via command prompt. Anyhow, its close to 60 units, which is 3-4 quarters at <span class="caps">UCLA,</span> perfectly managable. &#8230; and then I&#8217;ll be <span class="caps">DONE. </span>After (counts) &#8230; 99,00,01,02,03,04,05 &#8230; seven years (omg, I&#8217;ll be a seven year college student!) I&#8217;ll finally be done!</p>
1312             
1313             <p>(The question that begs to follow is, what after that? I refuse to worry just yet)</p>
1314             
1315             <p>I&#8217;m hoping to go abroad again this summer; hitting Japan or England are the two biggies on my mind&#8230; either trying to work at the Beeb in England or teach English in Japan&#8230; Aarif is in Japan, so he might be able to suggest something. Apparently it pays quite well, (but they ask you to have a degree), so some future investigation is required.</p>
1316             
1317             <p>Ok, quick review of materials, then back to examming.</p>
1318             
1319             <p>Rizzy</p>
1320             
1321             
1322             	
1323             
1324 rizwank 1.1 
1325             
1326             <div class="posted">
1327             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000296" title="Permanent Link to this Post.">02:21 PM</a><?php
1328             if ($hits) { 
1329                print " | Read ";
1330                echo "$hits";
1331                print " time";
1332                if($hits != 1) echo 's';
1333             }
1334             ?>
1335             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=296" onclick="OpenComments(this.href); return false">Comments (1)</a>
1336             	
1337             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=296" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1338             	
1339             </div>
1340             
1341             </div>
1342             <?php
1343             
1344             // display the list of referers
1345 rizwank 1.1 echo '<div class="sidetitle">Referrers</div>', "\n";
1346             echo '<div class="side">', "\n";
1347             
1348             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=296 GROUP BY referer ORDER BY count DESC, title';
1349             
1350             $rs = mysql_query( $sql );
1351             $n = 0;
1352             
1353             while( $row = mysql_fetch_assoc( $rs ) ) {
1354               $referer1 = $row['referer'];
1355               $title = $row['title'];
1356               $count = $row['count'];
1357               $search = $row['search'];
1358             
1359               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1360                 $n++;
1361                 echo '<a href="', $referer1, '" target="_blank">';
1362                 echo $title . "</a> [" . $count . "]<br />\n";
1363               }
1364             }
1365             
1366 rizwank 1.1 if (!($n)) {
1367                echo "No referrals yet<br />";
1368             }
1369             else {
1370             echo "<br />\n";
1371             echo 'referrers [referrals]<br />';
1372             }
1373             echo '</div>';
1374             
1375             echo "<div class='sidetitle'>Search Terms</div>\n";
1376             echo "<div class='side'>";
1377             
1378             $rs = mysql_query( $sql );
1379             $n = 0;
1380             
1381             while( $row = mysql_fetch_assoc( $rs ) ) {
1382               $query = '';
1383             
1384               $referer1 = $row['referer'];
1385               $title = $row['title'];
1386               $count = $row['count'];
1387 rizwank 1.1   $search = $row['search'];
1388             
1389               if ($search == 1) {
1390                 $n++;
1391                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1392                 echo $query . ' [' . $count . ']' . "<br />\n";
1393               }
1394             }
1395             
1396             if (!($n)) { echo "No search terms yet<br />"; }
1397             else { echo "<br />search terms [hits]"; }
1398             echo "</div>";
1399             ?>
1400             
1401             
1402             
1403             <!--
1404             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1405                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1406                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1407             <rdf:Description
1408 rizwank 1.1     rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000295"
1409                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/294"
1410                 dc:title="Oakland"
1411                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000295"
1412                 dc:subject=""
1413                 dc:description="Whoo hoo! One midterm over; two left. I&amp;#8217;m going to be up in Oakland this weekend; theres a minor possibility I&amp;#8217;ll be meeting someone there from H/n, but not likely. It&amp;#8217;s GP Oakland time&amp;#8230; then GP Madrid in .. omg,..."
1414                 dc:creator="Rizwank"
1415                 dc:date="2004-02-06T13:03:33-08:00" />
1416             </rdf:RDF>
1417             -->
1418             
1419             
1420             <h2 class="date">February 06, 2004</h2>
1421             
1422             
1423             <div class="blogbody">
1424             <a name="000295"></a>
1425             <?php
1426             
1427             // record the referer
1428             if ($my_ip !== $remote_ip) {
1429 rizwank 1.1    mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (295, '$referer', '', $time)" );
1430             }
1431             
1432             // get the no. of times this entry has been read
1433             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=295' );
1434             $row = mysql_fetch_row( $rs );
1435             $hits = $row[0];
1436             
1437             ?>
1438             <h3 class="title">Oakland</h3>
1439              
1440             <p>  <table align="left"><tr valign="bottom"><td>
1441                <p style="font-size:16pt"><b>
1442                 W</b>
1443                </p>
1444               </td></tr></table>
1445              hoo hoo! One midterm over; two left.</p>
1446             
1447             <p>I&#8217;m going to be up in Oakland this weekend; theres a minor possibility I&#8217;ll be meeting someone there from H/n, but not likely. </p>
1448             
1449             <p>It&#8217;s <span class="caps">GP </span>Oakland time&#8230; then <span class="caps">GP </span>Madrid in .. omg, two weeks! I&#8217;ve really got to get a flight reserved!  </p>
1450 rizwank 1.1 
1451             <p><span class="caps">GP </span>Oakland is Mirrodin + Darksteel sealed, so it should be fun; instead of the Mickey mouse tournament that <span class="caps">GP </span>Anahiem was &#8230; The insanity of <a href="javascript:autoCardWindow('Tinker')" title="Card Info on Tinker">Tinker</a>!</p>
1452             
1453             <p>So, I&#8217;ll see anyone thats going there; i&#8217;ll be back Sunday! </p>
1454             
1455             <p>rk</p>
1456             
1457             
1458             	
1459             
1460             
1461             
1462             <div class="posted">
1463             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000295" title="Permanent Link to this Post.">01:03 PM</a><?php
1464             if ($hits) { 
1465                print " | Read ";
1466                echo "$hits";
1467                print " time";
1468                if($hits != 1) echo 's';
1469             }
1470             ?>
1471 rizwank 1.1 		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=295" onclick="OpenComments(this.href); return false">Comments (0)</a>
1472             	
1473             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=295" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1474             	
1475             </div>
1476             
1477             </div>
1478             <?php
1479             
1480             // display the list of referers
1481             echo '<div class="sidetitle">Referrers</div>', "\n";
1482             echo '<div class="side">', "\n";
1483             
1484             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=295 GROUP BY referer ORDER BY count DESC, title';
1485             
1486             $rs = mysql_query( $sql );
1487             $n = 0;
1488             
1489             while( $row = mysql_fetch_assoc( $rs ) ) {
1490               $referer1 = $row['referer'];
1491               $title = $row['title'];
1492 rizwank 1.1   $count = $row['count'];
1493               $search = $row['search'];
1494             
1495               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1496                 $n++;
1497                 echo '<a href="', $referer1, '" target="_blank">';
1498                 echo $title . "</a> [" . $count . "]<br />\n";
1499               }
1500             }
1501             
1502             if (!($n)) {
1503                echo "No referrals yet<br />";
1504             }
1505             else {
1506             echo "<br />\n";
1507             echo 'referrers [referrals]<br />';
1508             }
1509             echo '</div>';
1510             
1511             echo "<div class='sidetitle'>Search Terms</div>\n";
1512             echo "<div class='side'>";
1513 rizwank 1.1 
1514             $rs = mysql_query( $sql );
1515             $n = 0;
1516             
1517             while( $row = mysql_fetch_assoc( $rs ) ) {
1518               $query = '';
1519             
1520               $referer1 = $row['referer'];
1521               $title = $row['title'];
1522               $count = $row['count'];
1523               $search = $row['search'];
1524             
1525               if ($search == 1) {
1526                 $n++;
1527                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1528                 echo $query . ' [' . $count . ']' . "<br />\n";
1529               }
1530             }
1531             
1532             if (!($n)) { echo "No search terms yet<br />"; }
1533             else { echo "<br />search terms [hits]"; }
1534 rizwank 1.1 echo "</div>";
1535             ?>
1536             
1537             
1538             
1539             <!--
1540             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1541                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1542                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1543             <rdf:Description
1544                 rdf:about="http://www.geekymedia.com/archives/2004/02/index.html#000294"
1545                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/293"
1546                 dc:title="ITS SNOWWWING!"
1547                 dc:identifier="http://www.geekymedia.com/archives/2004/02/index.html#000294"
1548                 dc:subject=""
1549                 dc:description="I&amp;#8217;m so terribly excited. Its snowing. Thats a really big deal in Victorville. We got a Olympus E1 for work yesterday and it is the new toy of the house&amp;#8230; I love my EOS 3 and won&amp;#8217;t buy a digital..."
1550                 dc:creator="Rizwank"
1551                 dc:date="2004-02-02T23:50:45-08:00" />
1552             </rdf:RDF>
1553             -->
1554             
1555 rizwank 1.1 
1556             <h2 class="date">February 02, 2004</h2>
1557             
1558             
1559             <div class="blogbody">
1560             <a name="000294"></a>
1561             <?php
1562             
1563             // record the referer
1564             if ($my_ip !== $remote_ip) {
1565                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (294, '$referer', '', $time)" );
1566             }
1567             
1568             // get the no. of times this entry has been read
1569             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=294' );
1570             $row = mysql_fetch_row( $rs );
1571             $hits = $row[0];
1572             
1573             ?>
1574             <h3 class="title">ITS SNOWWWING!</h3>
1575              
1576 rizwank 1.1 <p>  <table align="left"><tr valign="bottom"><td>
1577                <p style="font-size:16pt"><b>
1578                 I</b>
1579                </p>
1580               </td></tr></table>
1581              &#8217;m so terribly excited. Its snowing. Thats a really big deal in Victorville.</p>
1582             
1583             <p>We got a Olympus E1 for work yesterday and it is the new toy of the house&#8230; I love my <span class="caps">EOS 3</span> and won&#8217;t buy a digital <span class="caps">SLR</span> until they have a <span class="caps">EOS 3</span> digital, but it isn&#8217;t half bad.</p>
1584             
1585             <p>My going insane, taking pictures of snow (and my mum) attached.</p>
1586             
1587             <p>enjoy!<br />
1588             <img src="http://www.geekymedia.com/media/2-2-04_02.jpg">
1589             <img src="http://www.geekymedia.com/media/2-2-04_03.jpg">
1590             <img src="http://www.geekymedia.com/media/2-2-04_04.jpg">
1591             <img src="http://www.geekymedia.com/media/2-2-04_05.jpg">
1592             <img src="http://www.geekymedia.com/media/2-2-04_06.jpg">
1593             <img src="http://www.geekymedia.com/media/2-2-04_01.jpg"></p>
1594             
1595             
1596             	
1597 rizwank 1.1 
1598             
1599             
1600             <div class="posted">
1601             	<div class="posted">Penned by <!-- Rizwank --><script type="text/javascript" src="http://www.geekymedia.com/email.js"></script>  at <a href="http://www.geekymedia.com/archives/2004/02/index.html#000294" title="Permanent Link to this Post.">11:50 PM</a><?php
1602             if ($hits) { 
1603                print " | Read ";
1604                echo "$hits";
1605                print " time";
1606                if($hits != 1) echo 's';
1607             }
1608             ?>
1609             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=294" onclick="OpenComments(this.href); return false">Comments (3)</a>
1610             	
1611             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=294" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1612             	
1613             </div>
1614             
1615             </div>
1616             <?php
1617             
1618 rizwank 1.1 // display the list of referers
1619             echo '<div class="sidetitle">Referrers</div>', "\n";
1620             echo '<div class="side">', "\n";
1621             
1622             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=294 GROUP BY referer ORDER BY count DESC, title';
1623             
1624             $rs = mysql_query( $sql );
1625             $n = 0;
1626             
1627             while( $row = mysql_fetch_assoc( $rs ) ) {
1628               $referer1 = $row['referer'];
1629               $title = $row['title'];
1630               $count = $row['count'];
1631               $search = $row['search'];
1632             
1633               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1634                 $n++;
1635                 echo '<a href="', $referer1, '" target="_blank">';
1636                 echo $title . "</a> [" . $count . "]<br />\n";
1637               }
1638             }
1639 rizwank 1.1 
1640             if (!($n)) {
1641                echo "No referrals yet<br />";
1642             }
1643             else {
1644             echo "<br />\n";
1645             echo 'referrers [referrals]<br />';
1646             }
1647             echo '</div>';
1648             
1649             echo "<div class='sidetitle'>Search Terms</div>\n";
1650             echo "<div class='side'>";
1651             
1652             $rs = mysql_query( $sql );
1653             $n = 0;
1654             
1655             while( $row = mysql_fetch_assoc( $rs ) ) {
1656               $query = '';
1657             
1658               $referer1 = $row['referer'];
1659               $title = $row['title'];
1660 rizwank 1.1   $count = $row['count'];
1661               $search = $row['search'];
1662             
1663               if ($search == 1) {
1664                 $n++;
1665                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1666                 echo $query . ' [' . $count . ']' . "<br />\n";
1667               }
1668             }
1669             
1670             if (!($n)) { echo "No search terms yet<br />"; }
1671             else { echo "<br />search terms [hits]"; }
1672             echo "</div>";
1673             ?>
1674             
1675             
1676             
1677             </div>
1678             </div>
1679             <?php
1680             //Change the following to your email address
1681 rizwank 1.2 $email = "rizwan-removespam-k-AT-geeky~media.com.com";
1682 rizwank 1.1 
1683             if(eregi("googlebot",$_SERVER['HTTP_USER_AGENT'])) 
1684             { 
1685             mail($email, "Googlebot detected",
1686             "Google has crawled : ".$_SERVER['REQUEST_URI']); 
1687             }
1688             ?>
1689             <br>
1690             <php
1691             $rs = mysql_query( "SELECT * FROM mt_entryhits" );
1692             $deletetime = time() - (60 * 60 * 24);
1693             mysql_query( "DELETE FROM mt_entryhits WHERE time < $deletetime and entry_id = 0" );
1694             
1695             while ($row = mysql_fetch_assoc($rs)) {
1696                if ($referer == $row['referer']) {
1697                   $title = $row['title'];
1698                }
1699             }
1700             
1701             if (($title == '') || (strpos($title,'ttp://')) && ($referer !== '')) {
1702                if ($title1 = getquery($referer)) {
1703 rizwank 1.1       $title = addslashes($title1);
1704                   $search = 1;
1705                }
1706                else { $search = 0; }
1707                if (!($search)) { $title = addslashes(URLHelper::getTitle($referer)); }
1708                if (strpos($referer,'encquery')) {
1709                   $title = addslashes(substr($title,26,-2));
1710                   $search = 1;
1711                }
1712                if (strpos($referer,'info.dogpl')) {
1713                   $title = substr($title,21);
1714                   $search = 1;
1715                }
1716                if ((trim($title) == '-') || (trim($title) === '')) { $title = $referer; }
1717                if (!($search) && (strlen(trim($title)) > 45)) {$title = substr($title,0,42) . "..."; }
1718                else if (trim(strlen($title)) > 52) { $title = substr($title,0,49) . "..."; }
1719             }
1720             
1721             mysql_query( "UPDATE mt_entryhits SET title='$title', search=$search WHERE referer='$referer'" );
1722             
1723             function getquery($ref){
1724 rizwank 1.1     $queries = array("search=", "epq=", "p=", "qkw=", "q=", "query=", "va=", "qry=", "userQuery=", "searchfor=", "question=", "sb=");
1725             
1726                 while(list($key,$val)=each($queries)){
1727                     $pos = 0;//initialize
1728                     $pos = strpos($ref, $val);
1729                     if (strpos($ref,'encquery')) { $pos = 0; }
1730                     #$ret .= "($pos $val)";
1731                     if($pos > 0){
1732                         $endpos = strpos ($ref, "&", $pos);
1733                         if(trim($endpos) == ""){
1734                             $search = substr($ref, ($pos+strlen($val)), strlen($ref)-$pos);
1735                         }else{
1736                             $search = substr ($ref, ($pos+strlen($val)), ($endpos-$pos)-2);
1737                         }
1738                         $endpos = strpos ($search, "&");
1739                         if(trim($endpos)) {
1740                             $search = substr ($search, 0, $endpos);
1741                         }
1742                         $searched = trim($search);
1743                         $searched = str_replace("+", " ", $search);
1744                         $searched = str_replace("%2E", ".", $searched);
1745 rizwank 1.1             $searched = str_replace("%2B", "+", $searched);
1746                         $searched = str_replace("%2b", "+", $searched);
1747                         $searched = str_replace("%22", '"', $searched);
1748                         $searched = str_replace("%22", '"', $searched);
1749                         $searched = str_replace("%20", " ", $searched);
1750                         $searched = str_replace("%3F", "?", $searched);
1751                         $searched = str_replace("%28", "(", $searched);
1752                         $searched = str_replace("%27", "'", $searched);
1753                         $searched = str_replace("%3A", ":", $searched);
1754                         $searched = str_replace("%2C", ",", $searched);
1755                         $searched = str_replace("%24", "$", $searched);
1756                         $searched = str_replace("%21", "!", $searched);
1757                         $searched = str_replace("%5C", "\\", $searched);
1758                         $searched = str_replace("%2F", "/", $searched);
1759                         if(trim($searched) == ""){
1760                             $searched = substr($ref, $pos, strlen($ref)-$pos)."($endpos)";
1761                         }
1762                     }
1763                 }
1764                 if(trim($searched) !== "") {
1765                     return "$searched";
1766 rizwank 1.1     }else{
1767                     return false;
1768                 }
1769             }// end function
1770             
1771             ?>
1772             
1773             
1774             </body>
1775             </html>

Rizwan Kassim
Powered by
ViewCVS 0.9.2