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

   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: January 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/2003/12/index.html" title="December 2003" />
  13             
  14             <link rel="next" href="http://www.geekymedia.com/archives/2004/02/index.html" title="February 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/2003/12/index.html">&laquo; December 2003</a> |
 100             
 101             <a href="http://www.geekymedia.com/">Main</a>
 102             | <a href="http://www.geekymedia.com/archives/2004/02/index.html">February 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/01/index.html#000293"
 116                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/292"
 117                 dc:title="Shut Down"
 118                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000293"
 119                 dc:subject=""
 120                 dc:description="Oh I love getting shut down by girls. Ran into Natalie, mini-ex-squeeze at Olive Garden&amp;#8230; she was working. Gave me a big hug, talked my ear off, told me to come back and talk with her after dinner.. After dinner..."
 121                 dc:creator="Rizwank"
 122                 dc:date="2004-01-31T23:07:07-08:00" />
 123             </rdf:RDF>
 124             -->
 125             
 126             
 127 rizwank 1.1 <h2 class="date">January 31, 2004</h2>
 128             
 129             
 130             <div class="blogbody">
 131             <a name="000293"></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 (293, '$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=293' );
 141             $row = mysql_fetch_row( $rs );
 142             $hits = $row[0];
 143             
 144             ?>
 145             <h3 class="title">Shut Down</h3>
 146              
 147             <p>  <table align="left"><tr valign="bottom"><td>
 148 rizwank 1.1    <p style="font-size:16pt"><b>
 149                 O</b>
 150                </p>
 151               </td></tr></table>
 152              h I love getting shut down by girls.</p>
 153             
 154             <p>Ran into Natalie, mini-ex-squeeze at Olive Garden&#8230; she was working. Gave me a big hug, talked my ear off, told me to come back and talk with her after dinner..</p>
 155             
 156             <p>After dinner &#8230;</p>
 157             
 158             <p>Riz :chatter<br />
 159             Natalie :chatter<br />
 160             Riz :&#8221;So, do you want to hang out later?&#8221;<br />
 161             Natalie :&#8221;&#8230; (5 sec pause) Nah. I&#8217;m not feeling well.&#8221;</p>
 162             
 163             <p>this of course, begs the clarification, I didn&#8217;t mean today, later; but later later, but after previous compliactions from her, I remembered</p>
 164             
 165             <p>a) the fact that before she never gave me a clear direction either.</p>
 166             
 167             <p>b) that girls that really like me, want me to ask for their phone number/kiss them, etc; are damned obvious about it. You can <span class="caps">TELL</span> when someone likes you (with 90% of women)&#8230;</p>
 168             
 169 rizwank 1.1 <p>So I let it be. We hugged again good bye, and I split, slightly embarrased, but remembering thought B and all the stuff I had learned about how the important act was the trying (and not being shy), instead of the actual response. :)</p>
 170             
 171             <p>Rk</p>
 172             
 173             
 174             	
 175             
 176             
 177             
 178             <div class="posted">
 179             	<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/01/index.html#000293" title="Permanent Link to this Post.">11:07 PM</a><?php
 180             if ($hits) { 
 181                print " | Read ";
 182                echo "$hits";
 183                print " time";
 184                if($hits != 1) echo 's';
 185             }
 186             ?>
 187             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=293" onclick="OpenComments(this.href); return false">Comments (0)</a>
 188             	
 189             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=293" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 190 rizwank 1.1 	
 191             </div>
 192             
 193             </div>
 194             <?php
 195             
 196             // display the list of referers
 197             echo '<div class="sidetitle">Referrers</div>', "\n";
 198             echo '<div class="side">', "\n";
 199             
 200             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=293 GROUP BY referer ORDER BY count DESC, title';
 201             
 202             $rs = mysql_query( $sql );
 203             $n = 0;
 204             
 205             while( $row = mysql_fetch_assoc( $rs ) ) {
 206               $referer1 = $row['referer'];
 207               $title = $row['title'];
 208               $count = $row['count'];
 209               $search = $row['search'];
 210             
 211 rizwank 1.1   if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 212                 $n++;
 213                 echo '<a href="', $referer1, '" target="_blank">';
 214                 echo $title . "</a> [" . $count . "]<br />\n";
 215               }
 216             }
 217             
 218             if (!($n)) {
 219                echo "No referrals yet<br />";
 220             }
 221             else {
 222             echo "<br />\n";
 223             echo 'referrers [referrals]<br />';
 224             }
 225             echo '</div>';
 226             
 227             echo "<div class='sidetitle'>Search Terms</div>\n";
 228             echo "<div class='side'>";
 229             
 230             $rs = mysql_query( $sql );
 231             $n = 0;
 232 rizwank 1.1 
 233             while( $row = mysql_fetch_assoc( $rs ) ) {
 234               $query = '';
 235             
 236               $referer1 = $row['referer'];
 237               $title = $row['title'];
 238               $count = $row['count'];
 239               $search = $row['search'];
 240             
 241               if ($search == 1) {
 242                 $n++;
 243                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 244                 echo $query . ' [' . $count . ']' . "<br />\n";
 245               }
 246             }
 247             
 248             if (!($n)) { echo "No search terms yet<br />"; }
 249             else { echo "<br />search terms [hits]"; }
 250             echo "</div>";
 251             ?>
 252             
 253 rizwank 1.1 
 254             
 255             <!--
 256             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 257                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 258                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 259             <rdf:Description
 260                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000292"
 261                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/291"
 262                 dc:title="Sex"
 263                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000292"
 264                 dc:subject=""
 265                 dc:description="Some thoughts that were on my mind over the past few months that I never got down&amp;#8230; this isn&amp;#8217;t the sum of musings, just a snippet. First, an away message I read today. Auto response from **: I think I&amp;#8217;ve..."
 266                 dc:creator="Rizwank"
 267                 dc:date="2004-01-25T19:09:58-08:00" />
 268             </rdf:RDF>
 269             -->
 270             
 271             
 272             <h2 class="date">January 25, 2004</h2>
 273             
 274 rizwank 1.1 
 275             <div class="blogbody">
 276             <a name="000292"></a>
 277             <?php
 278             
 279             // record the referer
 280             if ($my_ip !== $remote_ip) {
 281                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (292, '$referer', '', $time)" );
 282             }
 283             
 284             // get the no. of times this entry has been read
 285             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=292' );
 286             $row = mysql_fetch_row( $rs );
 287             $hits = $row[0];
 288             
 289             ?>
 290             <h3 class="title">Sex</h3>
 291              
 292             <p>  <table align="left"><tr valign="bottom"><td>
 293                <p style="font-size:16pt"><b>
 294                 S</b>
 295 rizwank 1.1    </p>
 296               </td></tr></table>
 297              ome thoughts that were on my mind over the past few months that I never got down&#8230; this isn&#8217;t the sum of musings, just a snippet.</p>
 298             
 299             <p>First, an away message I read today.</p>
 300             
 301             <p>Auto response from **: I think I&#8217;ve finally, definitively come to the conclusion that music is better than sex.</p>
 302             
 303             <p>My first thought was &#8230; &#8221; Whats wrong with the sex you&#8217;ve been having &#8230; or what music are you listening to? (and can you send me the MP3s) &#8220;.</p>
 304             
 305             <p>Then I realized, at the point, I agree. I haven&#8217;t really come to a decision on Sex yet, haven&#8217;t had enough experiences to see if it is the phenominal thing that I&#8217;ve been told (constantly) that it is. </p>
 306             
 307             <p>Last month I was watching the &#8220;Two Become One&#8221; Spice Girls music video and just freaking out about how pretty and &#8230; well&#8230; girly, the girls are. And they are! Little actions, the way they bat their eyes&#8230; and it isn&#8217;t these girls, its girls in general!</p>
 308             
 309             <p>Someone smart is going to see that I use girls constanlty and rarely say Women. My reason is is that I still consider myself a &#8216;boy&#8217; and don&#8217;t see it mutually exclusive with being a &#8216;man,&#8217; and that I&#8217;ve just left a period of life where the word &#8216;girl&#8217; is the generic term. The rest of you will have other rationale, I&#8217;m sure.</p>
 310             
 311             <p>Finally, I&#8217;m going to scream. Listening to &#8220;Thats why they call it the blues&#8221; is great and all, especially, whenever I&#8217;m playing the Elton&#8217;s Hits <span class="caps">CD </span>(I don&#8217;t just queue it up otherwise); but I pause whenever I hear &#8220;Rolling like Thunder &#8230; Under the Covers..&#8221; &#8230; </p>
 312             
 313             <p>I want to roll like thunder&#8230;</p>
 314             
 315             
 316 rizwank 1.1 	
 317             
 318             
 319             
 320             <div class="posted">
 321             	<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/01/index.html#000292" title="Permanent Link to this Post.">07:09 PM</a><?php
 322             if ($hits) { 
 323                print " | Read ";
 324                echo "$hits";
 325                print " time";
 326                if($hits != 1) echo 's';
 327             }
 328             ?>
 329             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=292" onclick="OpenComments(this.href); return false">Comments (1)</a>
 330             	
 331             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=292" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 332             	
 333             </div>
 334             
 335             </div>
 336             <?php
 337 rizwank 1.1 
 338             // display the list of referers
 339             echo '<div class="sidetitle">Referrers</div>', "\n";
 340             echo '<div class="side">', "\n";
 341             
 342             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=292 GROUP BY referer ORDER BY count DESC, title';
 343             
 344             $rs = mysql_query( $sql );
 345             $n = 0;
 346             
 347             while( $row = mysql_fetch_assoc( $rs ) ) {
 348               $referer1 = $row['referer'];
 349               $title = $row['title'];
 350               $count = $row['count'];
 351               $search = $row['search'];
 352             
 353               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 354                 $n++;
 355                 echo '<a href="', $referer1, '" target="_blank">';
 356                 echo $title . "</a> [" . $count . "]<br />\n";
 357               }
 358 rizwank 1.1 }
 359             
 360             if (!($n)) {
 361                echo "No referrals yet<br />";
 362             }
 363             else {
 364             echo "<br />\n";
 365             echo 'referrers [referrals]<br />';
 366             }
 367             echo '</div>';
 368             
 369             echo "<div class='sidetitle'>Search Terms</div>\n";
 370             echo "<div class='side'>";
 371             
 372             $rs = mysql_query( $sql );
 373             $n = 0;
 374             
 375             while( $row = mysql_fetch_assoc( $rs ) ) {
 376               $query = '';
 377             
 378               $referer1 = $row['referer'];
 379 rizwank 1.1   $title = $row['title'];
 380               $count = $row['count'];
 381               $search = $row['search'];
 382             
 383               if ($search == 1) {
 384                 $n++;
 385                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 386                 echo $query . ' [' . $count . ']' . "<br />\n";
 387               }
 388             }
 389             
 390             if (!($n)) { echo "No search terms yet<br />"; }
 391             else { echo "<br />search terms [hits]"; }
 392             echo "</div>";
 393             ?>
 394             
 395             
 396             
 397             <!--
 398             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 399                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 400 rizwank 1.1          xmlns:dc="http://purl.org/dc/elements/1.1/">
 401             <rdf:Description
 402                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000291"
 403                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/290"
 404                 dc:title="Become a Google Adwords Guru"
 405                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000291"
 406                 dc:subject=""
 407                 dc:description="Google Adwords Seriously, one of the coolest things I&amp;#8217;ve ever seen&amp;#8230; web advertising at its best!..."
 408                 dc:creator="Rizwank"
 409                 dc:date="2004-01-25T14:58:01-08:00" />
 410             </rdf:RDF>
 411             -->
 412             
 413             
 414             
 415             
 416             <div class="blogbody">
 417             <a name="000291"></a>
 418             <?php
 419             
 420             // record the referer
 421 rizwank 1.1 if ($my_ip !== $remote_ip) {
 422                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (291, '$referer', '', $time)" );
 423             }
 424             
 425             // get the no. of times this entry has been read
 426             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=291' );
 427             $row = mysql_fetch_row( $rs );
 428             $hits = $row[0];
 429             
 430             ?>
 431             <h3 class="title">Become a Google Adwords Guru</h3>
 432              
 433             <p><a title="Google Adwords:" href="http://www.webmasterworld.com/forum81/">  <table align="left"><tr valign="bottom"><td>
 434                <p style="font-size:16pt"><b>
 435                 G</b>
 436                </p>
 437               </td></tr></table>
 438              oogle Adwords</a></p>
 439             
 440             <p>Seriously, one of the coolest things I&#8217;ve ever seen&#8230; web advertising at its best!</p>
 441             
 442 rizwank 1.1 
 443             	
 444             
 445             
 446             
 447             <div class="posted">
 448             	<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/01/index.html#000291" title="Permanent Link to this Post.">02:58 PM</a><?php
 449             if ($hits) { 
 450                print " | Read ";
 451                echo "$hits";
 452                print " time";
 453                if($hits != 1) echo 's';
 454             }
 455             ?>
 456             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=291" onclick="OpenComments(this.href); return false">Comments (0)</a>
 457             	
 458             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=291" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 459             	
 460             </div>
 461             
 462             </div>
 463 rizwank 1.1 <?php
 464             
 465             // display the list of referers
 466             echo '<div class="sidetitle">Referrers</div>', "\n";
 467             echo '<div class="side">', "\n";
 468             
 469             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=291 GROUP BY referer ORDER BY count DESC, title';
 470             
 471             $rs = mysql_query( $sql );
 472             $n = 0;
 473             
 474             while( $row = mysql_fetch_assoc( $rs ) ) {
 475               $referer1 = $row['referer'];
 476               $title = $row['title'];
 477               $count = $row['count'];
 478               $search = $row['search'];
 479             
 480               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 481                 $n++;
 482                 echo '<a href="', $referer1, '" target="_blank">';
 483                 echo $title . "</a> [" . $count . "]<br />\n";
 484 rizwank 1.1   }
 485             }
 486             
 487             if (!($n)) {
 488                echo "No referrals yet<br />";
 489             }
 490             else {
 491             echo "<br />\n";
 492             echo 'referrers [referrals]<br />';
 493             }
 494             echo '</div>';
 495             
 496             echo "<div class='sidetitle'>Search Terms</div>\n";
 497             echo "<div class='side'>";
 498             
 499             $rs = mysql_query( $sql );
 500             $n = 0;
 501             
 502             while( $row = mysql_fetch_assoc( $rs ) ) {
 503               $query = '';
 504             
 505 rizwank 1.1   $referer1 = $row['referer'];
 506               $title = $row['title'];
 507               $count = $row['count'];
 508               $search = $row['search'];
 509             
 510               if ($search == 1) {
 511                 $n++;
 512                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 513                 echo $query . ' [' . $count . ']' . "<br />\n";
 514               }
 515             }
 516             
 517             if (!($n)) { echo "No search terms yet<br />"; }
 518             else { echo "<br />search terms [hits]"; }
 519             echo "</div>";
 520             ?>
 521             
 522             
 523             
 524             <!--
 525             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 526 rizwank 1.1          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 527                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 528             <rdf:Description
 529                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000290"
 530                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/289"
 531                 dc:title="Tokens"
 532                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000290"
 533                 dc:subject=""
 534                 dc:description="Gamer Bits Those really cool tokens I bring to play with me. I missed the darksteel pre-release :( Forget the box (overvalued the week before it would be easily obtainable, allowing me to sell it for $100+) or anything else,..."
 535                 dc:creator="Rizwank"
 536                 dc:date="2004-01-25T14:31:29-08:00" />
 537             </rdf:RDF>
 538             -->
 539             
 540             
 541             
 542             
 543             <div class="blogbody">
 544             <a name="000290"></a>
 545             <?php
 546             
 547 rizwank 1.1 // record the referer
 548             if ($my_ip !== $remote_ip) {
 549                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (290, '$referer', '', $time)" );
 550             }
 551             
 552             // get the no. of times this entry has been read
 553             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=290' );
 554             $row = mysql_fetch_row( $rs );
 555             $hits = $row[0];
 556             
 557             ?>
 558             <h3 class="title">Tokens</h3>
 559              
 560             <p><a title="Gamer Bits" href="http://www.dark-platypus.com/game.htm#Life%20Counters">  <table align="left"><tr valign="bottom"><td>
 561                <p style="font-size:16pt"><b>
 562                 G</b>
 563                </p>
 564               </td></tr></table>
 565              amer Bits</a></p>
 566             
 567             <p>Those really cool tokens I bring to play with me.</p>
 568 rizwank 1.1 
 569             <p>I missed the darksteel pre-release :(</p>
 570             
 571             <p>Forget the box (overvalued the week before it would be easily obtainable, allowing me to sell it for $100+) or anything else, I&#8217;m annoyed about why I missed it&#8230;</p>
 572             
 573             <p>I&#8217;m sick again.</p>
 574             
 575             <p>Similar symptoms to Uzbekistan, and caryring on from being sick on Wednesday&#8230; I hope its not nearly as long term this time, and I fluctuate up and down daily&#8230; Heather is sick too, so its possible we both had a long-incubation time bug, but we doubt it. I drove about half the way to the release, until I almost crashed cause I was trying to not vomit &#8230; turned around and came home. </p>
 576             
 577             <p>Seriously, not the coolest way to spend a Saturday.</p>
 578             
 579             
 580             	
 581             
 582             
 583             
 584             <div class="posted">
 585             	<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/01/index.html#000290" title="Permanent Link to this Post.">02:31 PM</a><?php
 586             if ($hits) { 
 587                print " | Read ";
 588                echo "$hits";
 589 rizwank 1.1    print " time";
 590                if($hits != 1) echo 's';
 591             }
 592             ?>
 593             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=290" onclick="OpenComments(this.href); return false">Comments (0)</a>
 594             	
 595             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=290" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 596             	
 597             </div>
 598             
 599             </div>
 600             <?php
 601             
 602             // display the list of referers
 603             echo '<div class="sidetitle">Referrers</div>', "\n";
 604             echo '<div class="side">', "\n";
 605             
 606             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=290 GROUP BY referer ORDER BY count DESC, title';
 607             
 608             $rs = mysql_query( $sql );
 609             $n = 0;
 610 rizwank 1.1 
 611             while( $row = mysql_fetch_assoc( $rs ) ) {
 612               $referer1 = $row['referer'];
 613               $title = $row['title'];
 614               $count = $row['count'];
 615               $search = $row['search'];
 616             
 617               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 618                 $n++;
 619                 echo '<a href="', $referer1, '" target="_blank">';
 620                 echo $title . "</a> [" . $count . "]<br />\n";
 621               }
 622             }
 623             
 624             if (!($n)) {
 625                echo "No referrals yet<br />";
 626             }
 627             else {
 628             echo "<br />\n";
 629             echo 'referrers [referrals]<br />';
 630             }
 631 rizwank 1.1 echo '</div>';
 632             
 633             echo "<div class='sidetitle'>Search Terms</div>\n";
 634             echo "<div class='side'>";
 635             
 636             $rs = mysql_query( $sql );
 637             $n = 0;
 638             
 639             while( $row = mysql_fetch_assoc( $rs ) ) {
 640               $query = '';
 641             
 642               $referer1 = $row['referer'];
 643               $title = $row['title'];
 644               $count = $row['count'];
 645               $search = $row['search'];
 646             
 647               if ($search == 1) {
 648                 $n++;
 649                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 650                 echo $query . ' [' . $count . ']' . "<br />\n";
 651               }
 652 rizwank 1.1 }
 653             
 654             if (!($n)) { echo "No search terms yet<br />"; }
 655             else { echo "<br />search terms [hits]"; }
 656             echo "</div>";
 657             ?>
 658             
 659             
 660             
 661             <!--
 662             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 663                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 664                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 665             <rdf:Description
 666                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000289"
 667                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/288"
 668                 dc:title="This just made my day."
 669                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000289"
 670                 dc:subject="Home"
 671                 dc:description="This just made my day. Communist Mario Oh, I&amp;#8217;ve been sick for the past few days :( Vomiting, but not as bad as Uzbekistan. Bad Chinese food. Not sure if I have a job now; stories to tell, no energy..."
 672                 dc:creator="Rizwank"
 673 rizwank 1.1     dc:date="2004-01-22T23:22:45-08:00" />
 674             </rdf:RDF>
 675             -->
 676             
 677             
 678             <h2 class="date">January 22, 2004</h2>
 679             
 680             
 681             <div class="blogbody">
 682             <a name="000289"></a>
 683             <?php
 684             
 685             // record the referer
 686             if ($my_ip !== $remote_ip) {
 687                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (289, '$referer', '', $time)" );
 688             }
 689             
 690             // get the no. of times this entry has been read
 691             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=289' );
 692             $row = mysql_fetch_row( $rs );
 693             $hits = $row[0];
 694 rizwank 1.1 
 695             ?>
 696             <h3 class="title">This just made my day.</h3>
 697              
 698             <p>  <table align="left"><tr valign="bottom"><td>
 699                <p style="font-size:16pt"><b>
 700                 T</b>
 701                </p>
 702               </td></tr></table>
 703              his just made my day.</p>
 704             
 705             <p><a title="Communist Mario" href="http://www.murderize.com/Articles/CommunistMario/index.htm">Communist Mario</a></p>
 706             
 707             <p>Oh, I&#8217;ve been sick for the past few days :( Vomiting, but not as bad as Uzbekistan. Bad Chinese food. Not sure if I have a job now; stories to tell, no energy to tell em.</p>
 708             
 709             
 710             	
 711             
 712             
 713             
 714             <div class="posted">
 715 rizwank 1.1 	<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/01/index.html#000289" title="Permanent Link to this Post.">11:22 PM</a><?php
 716             if ($hits) { 
 717                print " | Read ";
 718                echo "$hits";
 719                print " time";
 720                if($hits != 1) echo 's';
 721             }
 722             ?>
 723             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=289" onclick="OpenComments(this.href); return false">Comments (0)</a>
 724             	
 725             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=289" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 726             	
 727             </div>
 728             
 729             </div>
 730             <?php
 731             
 732             // display the list of referers
 733             echo '<div class="sidetitle">Referrers</div>', "\n";
 734             echo '<div class="side">', "\n";
 735             
 736 rizwank 1.1 $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=289 GROUP BY referer ORDER BY count DESC, title';
 737             
 738             $rs = mysql_query( $sql );
 739             $n = 0;
 740             
 741             while( $row = mysql_fetch_assoc( $rs ) ) {
 742               $referer1 = $row['referer'];
 743               $title = $row['title'];
 744               $count = $row['count'];
 745               $search = $row['search'];
 746             
 747               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 748                 $n++;
 749                 echo '<a href="', $referer1, '" target="_blank">';
 750                 echo $title . "</a> [" . $count . "]<br />\n";
 751               }
 752             }
 753             
 754             if (!($n)) {
 755                echo "No referrals yet<br />";
 756             }
 757 rizwank 1.1 else {
 758             echo "<br />\n";
 759             echo 'referrers [referrals]<br />';
 760             }
 761             echo '</div>';
 762             
 763             echo "<div class='sidetitle'>Search Terms</div>\n";
 764             echo "<div class='side'>";
 765             
 766             $rs = mysql_query( $sql );
 767             $n = 0;
 768             
 769             while( $row = mysql_fetch_assoc( $rs ) ) {
 770               $query = '';
 771             
 772               $referer1 = $row['referer'];
 773               $title = $row['title'];
 774               $count = $row['count'];
 775               $search = $row['search'];
 776             
 777               if ($search == 1) {
 778 rizwank 1.1     $n++;
 779                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 780                 echo $query . ' [' . $count . ']' . "<br />\n";
 781               }
 782             }
 783             
 784             if (!($n)) { echo "No search terms yet<br />"; }
 785             else { echo "<br />search terms [hits]"; }
 786             echo "</div>";
 787             ?>
 788             
 789             
 790             
 791             <!--
 792             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 793                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 794                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 795             <rdf:Description
 796                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000288"
 797                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/287"
 798                 dc:title="NASA hides the true colours of Mars"
 799 rizwank 1.1     dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000288"
 800                 dc:subject=""
 801                 dc:description="NASA hides the true colours of Mars..."
 802                 dc:creator="Rizwank"
 803                 dc:date="2004-01-18T12:17:06-08:00" />
 804             </rdf:RDF>
 805             -->
 806             
 807             
 808             <h2 class="date">January 18, 2004</h2>
 809             
 810             
 811             <div class="blogbody">
 812             <a name="000288"></a>
 813             <?php
 814             
 815             // record the referer
 816             if ($my_ip !== $remote_ip) {
 817                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (288, '$referer', '', $time)" );
 818             }
 819             
 820 rizwank 1.1 // get the no. of times this entry has been read
 821             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=288' );
 822             $row = mysql_fetch_row( $rs );
 823             $hits = $row[0];
 824             
 825             ?>
 826             <h3 class="title">NASA hides the true colours of Mars</h3>
 827              
 828             <p><a title="NASA hides the true colours of Mars" href="http://fire.prohosting.com/cleoger/marscolors/"><span class="caps">  <table align="left"><tr valign="bottom"><td>
 829                <p style="font-size:16pt"><b>
 830                 N</b>
 831                </p>
 832               </td></tr></table>
 833              ASA</span> hides the true colours of Mars</a></p>
 834             
 835             
 836             	
 837             
 838             
 839             
 840             <div class="posted">
 841 rizwank 1.1 	<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/01/index.html#000288" title="Permanent Link to this Post.">12:17 PM</a><?php
 842             if ($hits) { 
 843                print " | Read ";
 844                echo "$hits";
 845                print " time";
 846                if($hits != 1) echo 's';
 847             }
 848             ?>
 849             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=288" onclick="OpenComments(this.href); return false">Comments (0)</a>
 850             	
 851             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=288" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 852             	
 853             </div>
 854             
 855             </div>
 856             <?php
 857             
 858             // display the list of referers
 859             echo '<div class="sidetitle">Referrers</div>', "\n";
 860             echo '<div class="side">', "\n";
 861             
 862 rizwank 1.1 $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=288 GROUP BY referer ORDER BY count DESC, title';
 863             
 864             $rs = mysql_query( $sql );
 865             $n = 0;
 866             
 867             while( $row = mysql_fetch_assoc( $rs ) ) {
 868               $referer1 = $row['referer'];
 869               $title = $row['title'];
 870               $count = $row['count'];
 871               $search = $row['search'];
 872             
 873               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
 874                 $n++;
 875                 echo '<a href="', $referer1, '" target="_blank">';
 876                 echo $title . "</a> [" . $count . "]<br />\n";
 877               }
 878             }
 879             
 880             if (!($n)) {
 881                echo "No referrals yet<br />";
 882             }
 883 rizwank 1.1 else {
 884             echo "<br />\n";
 885             echo 'referrers [referrals]<br />';
 886             }
 887             echo '</div>';
 888             
 889             echo "<div class='sidetitle'>Search Terms</div>\n";
 890             echo "<div class='side'>";
 891             
 892             $rs = mysql_query( $sql );
 893             $n = 0;
 894             
 895             while( $row = mysql_fetch_assoc( $rs ) ) {
 896               $query = '';
 897             
 898               $referer1 = $row['referer'];
 899               $title = $row['title'];
 900               $count = $row['count'];
 901               $search = $row['search'];
 902             
 903               if ($search == 1) {
 904 rizwank 1.1     $n++;
 905                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
 906                 echo $query . ' [' . $count . ']' . "<br />\n";
 907               }
 908             }
 909             
 910             if (!($n)) { echo "No search terms yet<br />"; }
 911             else { echo "<br />search terms [hits]"; }
 912             echo "</div>";
 913             ?>
 914             
 915             
 916             
 917             <!--
 918             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 919                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
 920                      xmlns:dc="http://purl.org/dc/elements/1.1/">
 921             <rdf:Description
 922                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000287"
 923                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/286"
 924                 dc:title="The Hubble"
 925 rizwank 1.1     dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000287"
 926                 dc:subject="Home"
 927                 dc:description="Salon.com News | NASA abandons Hubble for Bush space plan WASHINGTON (AP) &amp;#8212; The Hubble Space Telescope will be allowed to degrade and eventually become useless, as NASA changes focus to President Bush&amp;#8217;s plans to send humans to the moon,..."
 928                 dc:creator="Rizwank"
 929                 dc:date="2004-01-18T10:17:26-08:00" />
 930             </rdf:RDF>
 931             -->
 932             
 933             
 934             
 935             
 936             <div class="blogbody">
 937             <a name="000287"></a>
 938             <?php
 939             
 940             // record the referer
 941             if ($my_ip !== $remote_ip) {
 942                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (287, '$referer', '', $time)" );
 943             }
 944             
 945             // get the no. of times this entry has been read
 946 rizwank 1.1 $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=287' );
 947             $row = mysql_fetch_row( $rs );
 948             $hits = $row[0];
 949             
 950             ?>
 951             <h3 class="title">The Hubble</h3>
 952              
 953             <p><a title="Salon.com News | NASA abandons Hubble for Bush space plan" href="http://www.salon.com/news/wire/2004/01/16/hubble/index.html">  <table align="left"><tr valign="bottom"><td>
 954                <p style="font-size:16pt"><b>
 955                 S</b>
 956                </p>
 957               </td></tr></table>
 958              alon.com News | <span class="caps">NASA</span> abandons Hubble for Bush space plan</a></p>
 959             
 960             <p><span class="caps">WASHINGTON </span>(AP) &#8212; The Hubble Space Telescope will be allowed to degrade and eventually become useless, as <span class="caps">NASA</span> changes focus to President Bush&#8217;s plans to send humans to the moon, Mars and beyond, officials said Friday</p>
 961             
 962             
 963             	
 964             
 965             
 966             
 967 rizwank 1.1 <div class="posted">
 968             	<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/01/index.html#000287" title="Permanent Link to this Post.">10:17 AM</a><?php
 969             if ($hits) { 
 970                print " | Read ";
 971                echo "$hits";
 972                print " time";
 973                if($hits != 1) echo 's';
 974             }
 975             ?>
 976             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=287" onclick="OpenComments(this.href); return false">Comments (0)</a>
 977             	
 978             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=287" onclick="OpenTrackback(this.href); return false">TrackBack</a>
 979             	
 980             </div>
 981             
 982             </div>
 983             <?php
 984             
 985             // display the list of referers
 986             echo '<div class="sidetitle">Referrers</div>', "\n";
 987             echo '<div class="side">', "\n";
 988 rizwank 1.1 
 989             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=287 GROUP BY referer ORDER BY count DESC, title';
 990             
 991             $rs = mysql_query( $sql );
 992             $n = 0;
 993             
 994             while( $row = mysql_fetch_assoc( $rs ) ) {
 995               $referer1 = $row['referer'];
 996               $title = $row['title'];
 997               $count = $row['count'];
 998               $search = $row['search'];
 999             
1000               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1001                 $n++;
1002                 echo '<a href="', $referer1, '" target="_blank">';
1003                 echo $title . "</a> [" . $count . "]<br />\n";
1004               }
1005             }
1006             
1007             if (!($n)) {
1008                echo "No referrals yet<br />";
1009 rizwank 1.1 }
1010             else {
1011             echo "<br />\n";
1012             echo 'referrers [referrals]<br />';
1013             }
1014             echo '</div>';
1015             
1016             echo "<div class='sidetitle'>Search Terms</div>\n";
1017             echo "<div class='side'>";
1018             
1019             $rs = mysql_query( $sql );
1020             $n = 0;
1021             
1022             while( $row = mysql_fetch_assoc( $rs ) ) {
1023               $query = '';
1024             
1025               $referer1 = $row['referer'];
1026               $title = $row['title'];
1027               $count = $row['count'];
1028               $search = $row['search'];
1029             
1030 rizwank 1.1   if ($search == 1) {
1031                 $n++;
1032                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1033                 echo $query . ' [' . $count . ']' . "<br />\n";
1034               }
1035             }
1036             
1037             if (!($n)) { echo "No search terms yet<br />"; }
1038             else { echo "<br />search terms [hits]"; }
1039             echo "</div>";
1040             ?>
1041             
1042             
1043             
1044             <!--
1045             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1046                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1047                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1048             <rdf:Description
1049                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000286"
1050                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/285"
1051 rizwank 1.1     dc:title="Magical Fun :)"
1052                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000286"
1053                 dc:subject=""
1054                 dc:description="MtG Lair - Monty Python MtG Cards..."
1055                 dc:creator="Rizwank"
1056                 dc:date="2004-01-18T10:13:55-08:00" />
1057             </rdf:RDF>
1058             -->
1059             
1060             
1061             
1062             
1063             <div class="blogbody">
1064             <a name="000286"></a>
1065             <?php
1066             
1067             // record the referer
1068             if ($my_ip !== $remote_ip) {
1069                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (286, '$referer', '', $time)" );
1070             }
1071             
1072 rizwank 1.1 // get the no. of times this entry has been read
1073             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=286' );
1074             $row = mysql_fetch_row( $rs );
1075             $hits = $row[0];
1076             
1077             ?>
1078             <h3 class="title">Magical Fun :)</h3>
1079              
1080             <p><a title="MtG Lair - Monty Python MtG Cards" href="http://mtglair.de/mp.shtml">  <table align="left"><tr valign="bottom"><td>
1081                <p style="font-size:16pt"><b>
1082                 M</b>
1083                </p>
1084               </td></tr></table>
1085              tG Lair - Monty Python MtG Cards</a></p>
1086             
1087             
1088             	
1089             
1090             
1091             
1092             <div class="posted">
1093 rizwank 1.1 	<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/01/index.html#000286" title="Permanent Link to this Post.">10:13 AM</a><?php
1094             if ($hits) { 
1095                print " | Read ";
1096                echo "$hits";
1097                print " time";
1098                if($hits != 1) echo 's';
1099             }
1100             ?>
1101             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=286" onclick="OpenComments(this.href); return false">Comments (0)</a>
1102             	
1103             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=286" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1104             	
1105             </div>
1106             
1107             </div>
1108             <?php
1109             
1110             // display the list of referers
1111             echo '<div class="sidetitle">Referrers</div>', "\n";
1112             echo '<div class="side">', "\n";
1113             
1114 rizwank 1.1 $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=286 GROUP BY referer ORDER BY count DESC, title';
1115             
1116             $rs = mysql_query( $sql );
1117             $n = 0;
1118             
1119             while( $row = mysql_fetch_assoc( $rs ) ) {
1120               $referer1 = $row['referer'];
1121               $title = $row['title'];
1122               $count = $row['count'];
1123               $search = $row['search'];
1124             
1125               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1126                 $n++;
1127                 echo '<a href="', $referer1, '" target="_blank">';
1128                 echo $title . "</a> [" . $count . "]<br />\n";
1129               }
1130             }
1131             
1132             if (!($n)) {
1133                echo "No referrals yet<br />";
1134             }
1135 rizwank 1.1 else {
1136             echo "<br />\n";
1137             echo 'referrers [referrals]<br />';
1138             }
1139             echo '</div>';
1140             
1141             echo "<div class='sidetitle'>Search Terms</div>\n";
1142             echo "<div class='side'>";
1143             
1144             $rs = mysql_query( $sql );
1145             $n = 0;
1146             
1147             while( $row = mysql_fetch_assoc( $rs ) ) {
1148               $query = '';
1149             
1150               $referer1 = $row['referer'];
1151               $title = $row['title'];
1152               $count = $row['count'];
1153               $search = $row['search'];
1154             
1155               if ($search == 1) {
1156 rizwank 1.1     $n++;
1157                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1158                 echo $query . ' [' . $count . ']' . "<br />\n";
1159               }
1160             }
1161             
1162             if (!($n)) { echo "No search terms yet<br />"; }
1163             else { echo "<br />search terms [hits]"; }
1164             echo "</div>";
1165             ?>
1166             
1167             
1168             
1169             <!--
1170             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1171                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1172                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1173             <rdf:Description
1174                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000285"
1175                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/284"
1176                 dc:title="Left Right and Center"
1177 rizwank 1.1     dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000285"
1178                 dc:subject=""
1179                 dc:description="Nothing, and I mean nothing, pushes me more to the right than to hear liberals pundits talk. First, when candidates that are lucky to get 1% of the vote say &amp;#8220;When I am President&amp;#8230;,&amp;#8221; I want to gag. Came home..."
1180                 dc:creator="Rizwank"
1181                 dc:date="2004-01-17T00:37:07-08:00" />
1182             </rdf:RDF>
1183             -->
1184             
1185             
1186             <h2 class="date">January 17, 2004</h2>
1187             
1188             
1189             <div class="blogbody">
1190             <a name="000285"></a>
1191             <?php
1192             
1193             // record the referer
1194             if ($my_ip !== $remote_ip) {
1195                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (285, '$referer', '', $time)" );
1196             }
1197             
1198 rizwank 1.1 // get the no. of times this entry has been read
1199             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=285' );
1200             $row = mysql_fetch_row( $rs );
1201             $hits = $row[0];
1202             
1203             ?>
1204             <h3 class="title">Left Right and Center</h3>
1205              
1206             <p>  <table align="left"><tr valign="bottom"><td>
1207                <p style="font-size:16pt"><b>
1208                 N</b>
1209                </p>
1210               </td></tr></table>
1211              othing, and I mean nothing, pushes me more to the right than to hear liberals pundits talk.</p>
1212             
1213             <p>First, when candidates that are lucky to get 1% of the vote say &#8220;When I am President&#8230;,&#8221; I want to gag.</p>
1214             
1215             <p>Came home from <span class="caps">FNM</span> and saw my dad watching Bill Mahers <span class="caps">HBO</span> show, with <a href="http://www.imdb.com/name/nm0798779/" title="Ron Silver ">Ron Silver </a>(who I have a new found respect for), Darrell Issa and Al Sharpton.</p>
1216             
1217             <p>The kicker for me was when Sharpton made a jab at Issa&#8230; &#8220;since you were so happy to recall a governer who put California into a deficit, why don&#8217;t you help me with Pres. Bush&#8230;&#8221;</p>
1218             
1219 rizwank 1.1 <p>Chirst Almighty, Apples and Oranges.</p>
1220             
1221             <p>Do I wish Bush was as fiscally conservative as I had though when I voted for him? Yes. Is the deficit (mainly) his fault? I don&#8217;t think so. There has been a deficit in the federal budget since the Civil War&#8230;. thats 150+ years of Presidents in the same situation&#8230; on top of which, the economy (and therefore tax revenue) dive of the post-Clinton era (plus 9/11) can&#8217;t be blamed on Bush&#8230; Its insane&#8230; criticizing him for the budget (or heralding Clinton&#8217;s fiscal policy (which was good, I&#8217;ll admit) as the <em>only</em> reason the budget was balanced) is like claiming that Herbert Hoover was a great president because he kept us out of war&#8230;</p>
1222             
1223             <p>More on whether going into Iraq was right or not, even for humanitarian reasons&#8230; just one thing&#8230; Americans don&#8217;t like to go places to help others&#8230; we&#8217;ll write a check, donate stuff, but we don&#8217;t like sending out boys and girls abroad (OH <span class="caps">WAIT, THATS WHAT WE PAY THEM FOR</span>!) &#8212;- sorry, a little bit of pent up anger there.</p>
1224             
1225             <p>Anyhow bed time, more tomorrow.</p>
1226             
1227             
1228             	
1229             
1230             
1231             
1232             <div class="posted">
1233             	<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/01/index.html#000285" title="Permanent Link to this Post.">12:37 AM</a><?php
1234             if ($hits) { 
1235                print " | Read ";
1236                echo "$hits";
1237                print " time";
1238                if($hits != 1) echo 's';
1239             }
1240 rizwank 1.1 ?>
1241             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=285" onclick="OpenComments(this.href); return false">Comments (1)</a>
1242             	
1243             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=285" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1244             	
1245             </div>
1246             
1247             </div>
1248             <?php
1249             
1250             // display the list of referers
1251             echo '<div class="sidetitle">Referrers</div>', "\n";
1252             echo '<div class="side">', "\n";
1253             
1254             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=285 GROUP BY referer ORDER BY count DESC, title';
1255             
1256             $rs = mysql_query( $sql );
1257             $n = 0;
1258             
1259             while( $row = mysql_fetch_assoc( $rs ) ) {
1260               $referer1 = $row['referer'];
1261 rizwank 1.1   $title = $row['title'];
1262               $count = $row['count'];
1263               $search = $row['search'];
1264             
1265               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1266                 $n++;
1267                 echo '<a href="', $referer1, '" target="_blank">';
1268                 echo $title . "</a> [" . $count . "]<br />\n";
1269               }
1270             }
1271             
1272             if (!($n)) {
1273                echo "No referrals yet<br />";
1274             }
1275             else {
1276             echo "<br />\n";
1277             echo 'referrers [referrals]<br />';
1278             }
1279             echo '</div>';
1280             
1281             echo "<div class='sidetitle'>Search Terms</div>\n";
1282 rizwank 1.1 echo "<div class='side'>";
1283             
1284             $rs = mysql_query( $sql );
1285             $n = 0;
1286             
1287             while( $row = mysql_fetch_assoc( $rs ) ) {
1288               $query = '';
1289             
1290               $referer1 = $row['referer'];
1291               $title = $row['title'];
1292               $count = $row['count'];
1293               $search = $row['search'];
1294             
1295               if ($search == 1) {
1296                 $n++;
1297                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1298                 echo $query . ' [' . $count . ']' . "<br />\n";
1299               }
1300             }
1301             
1302             if (!($n)) { echo "No search terms yet<br />"; }
1303 rizwank 1.1 else { echo "<br />search terms [hits]"; }
1304             echo "</div>";
1305             ?>
1306             
1307             
1308             
1309             <!--
1310             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1311                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1312                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1313             <rdf:Description
1314                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000284"
1315                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/283"
1316                 dc:title="Quotage"
1317                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000284"
1318                 dc:subject=""
1319                 dc:description="Cool quotes I ran into&amp;#8230; &amp;#8220;War is a way of shattering to pieces, or pouring into the stratosphere, or shrinking into the depths of the sea, materials which might have otherwise be used to make the masses to comfortable, and..."
1320                 dc:creator="Rizwank"
1321                 dc:date="2004-01-11T19:20:38-08:00" />
1322             </rdf:RDF>
1323             -->
1324 rizwank 1.1 
1325             
1326             <h2 class="date">January 11, 2004</h2>
1327             
1328             
1329             <div class="blogbody">
1330             <a name="000284"></a>
1331             <?php
1332             
1333             // record the referer
1334             if ($my_ip !== $remote_ip) {
1335                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (284, '$referer', '', $time)" );
1336             }
1337             
1338             // get the no. of times this entry has been read
1339             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=284' );
1340             $row = mysql_fetch_row( $rs );
1341             $hits = $row[0];
1342             
1343             ?>
1344             <h3 class="title">Quotage</h3>
1345 rizwank 1.1  
1346             <p>  <table align="left"><tr valign="bottom"><td>
1347                <p style="font-size:16pt"><b>
1348                 C</b>
1349                </p>
1350               </td></tr></table>
1351              ool quotes I ran into&#8230;</p>
1352             
1353             <p>&#8220;War is a way of shattering to pieces, or pouring into the stratosphere, or shrinking into the depths of the sea, materials which might have otherwise be used to make the masses to comfortable, and hence, in the long run, too intellegent.&#8221; </p>
1354             
1355             <p>&#8220;Women, go your ways! Seek not to beguile us of our imperial privileges.<br />
1356             Content yourself with your little feminine trifles&#8212;your babies, your<br />
1357             benevolent societies and your knitting&#8212;and let your natural bosses do<br />
1358             the voting. Stand back&#8212;you will be wanting to go to war next. We will<br />
1359             let you teach school as much as you want to, and we will pay you half<br />
1360             wages for it, too, but beware! we don&#8217;t want you to crowd us too much.&#8221;<br />
1361             - Mark Twain, Letter to St. Louis Missouri Democrat, March, 1867 </p>
1362             
1363             <p> </p>
1364             
1365             
1366 rizwank 1.1 	
1367             
1368             
1369             
1370             <div class="posted">
1371             	<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/01/index.html#000284" title="Permanent Link to this Post.">07:20 PM</a><?php
1372             if ($hits) { 
1373                print " | Read ";
1374                echo "$hits";
1375                print " time";
1376                if($hits != 1) echo 's';
1377             }
1378             ?>
1379             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=284" onclick="OpenComments(this.href); return false">Comments (0)</a>
1380             	
1381             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=284" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1382             	
1383             </div>
1384             
1385             </div>
1386             <?php
1387 rizwank 1.1 
1388             // display the list of referers
1389             echo '<div class="sidetitle">Referrers</div>', "\n";
1390             echo '<div class="side">', "\n";
1391             
1392             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=284 GROUP BY referer ORDER BY count DESC, title';
1393             
1394             $rs = mysql_query( $sql );
1395             $n = 0;
1396             
1397             while( $row = mysql_fetch_assoc( $rs ) ) {
1398               $referer1 = $row['referer'];
1399               $title = $row['title'];
1400               $count = $row['count'];
1401               $search = $row['search'];
1402             
1403               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1404                 $n++;
1405                 echo '<a href="', $referer1, '" target="_blank">';
1406                 echo $title . "</a> [" . $count . "]<br />\n";
1407               }
1408 rizwank 1.1 }
1409             
1410             if (!($n)) {
1411                echo "No referrals yet<br />";
1412             }
1413             else {
1414             echo "<br />\n";
1415             echo 'referrers [referrals]<br />';
1416             }
1417             echo '</div>';
1418             
1419             echo "<div class='sidetitle'>Search Terms</div>\n";
1420             echo "<div class='side'>";
1421             
1422             $rs = mysql_query( $sql );
1423             $n = 0;
1424             
1425             while( $row = mysql_fetch_assoc( $rs ) ) {
1426               $query = '';
1427             
1428               $referer1 = $row['referer'];
1429 rizwank 1.1   $title = $row['title'];
1430               $count = $row['count'];
1431               $search = $row['search'];
1432             
1433               if ($search == 1) {
1434                 $n++;
1435                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1436                 echo $query . ' [' . $count . ']' . "<br />\n";
1437               }
1438             }
1439             
1440             if (!($n)) { echo "No search terms yet<br />"; }
1441             else { echo "<br />search terms [hits]"; }
1442             echo "</div>";
1443             ?>
1444             
1445             
1446             
1447             <!--
1448             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1449                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1450 rizwank 1.1          xmlns:dc="http://purl.org/dc/elements/1.1/">
1451             <rdf:Description
1452                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000283"
1453                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/282"
1454                 dc:title="Books"
1455                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000283"
1456                 dc:subject=""
1457                 dc:description="All the books I just got from Amazon (that aren&amp;#8217;t textbooks) Amazon.com: Books: Diary of a Manhattan Call Girl : A Nancy Chan Novel Amazon.com: Books: Code Complete Amazon.com: Books: Fast Food Nation: The Dark Side of the All-American Meal..."
1458                 dc:creator="Rizwank"
1459                 dc:date="2004-01-11T17:54:04-08:00" />
1460             </rdf:RDF>
1461             -->
1462             
1463             
1464             
1465             
1466             <div class="blogbody">
1467             <a name="000283"></a>
1468             <?php
1469             
1470             // record the referer
1471 rizwank 1.1 if ($my_ip !== $remote_ip) {
1472                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (283, '$referer', '', $time)" );
1473             }
1474             
1475             // get the no. of times this entry has been read
1476             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=283' );
1477             $row = mysql_fetch_row( $rs );
1478             $hits = $row[0];
1479             
1480             ?>
1481             <h3 class="title">Books</h3>
1482              
1483             <p>  <table align="left"><tr valign="bottom"><td>
1484                <p style="font-size:16pt"><b>
1485                 A</b>
1486                </p>
1487               </td></tr></table>
1488              ll the books I just got from Amazon (that aren&#8217;t textbooks)</p>
1489             
1490             <p><a title="Amazon.com: Books: Diary of a Manhattan Call Girl : A Nancy Chan Novel" href="http://www.amazon.com/exec/obidos/tg/detail/-/0609607243/002-7834631-2410449">Amazon.com: Books: Diary of a Manhattan Call Girl : A Nancy Chan Novel</a><br />
1491             <a title="Amazon.com: Books: Code Complete" href="http://www.amazon.com/exec/obidos/tg/detail/-/1556154844/002-7834631-2410449">Amazon.com: Books: Code Complete</a><br />
1492 rizwank 1.1 <a title="Amazon.com: Books: Fast Food Nation: The Dark Side of the All-American Meal" href="http://www.amazon.com/exec/obidos/tg/detail/-/0060938455/002-7834631-2410449">Amazon.com: Books: Fast Food Nation: The Dark Side of the All-American Meal</a><br />
1493             <a title="Amazon.com: Books: The Emperor of Scent : A Story of Perfume, Obsession, and the Last Mystery of the Senses" href="http://www.amazon.com/exec/obidos/tg/detail/-/0375507973/002-7834631-2410449">Amazon.com: Books: The Emperor of Scent : A Story of Perfume, Obsession, and the Last Mystery of the Senses</a><br />
1494             <a title="Amazon.com: Books: Bachelor Girl : The Secret History of Single Women in the Twentieth Century" href="http://www.amazon.com/exec/obidos/tg/detail/-/0380976498/002-7834631-2410449">Amazon.com: Books: Bachelor Girl : The Secret History of Single Women in the Twentieth Century</a><br />
1495             <a title="Amazon.com: Books: A Round-Heeled Woman : My Late-Life Adventures in Sex and Romance" href="http://www.amazon.com/exec/obidos/tg/detail/-/1400060117/002-7834631-2410449">Amazon.com: Books: A Round-Heeled Woman : My Late-Life Adventures in Sex and Romance</a><br />
1496             <a title="Amazon.com: Books: The Assassins" href="http://www.amazon.com/exec/obidos/tg/detail/-/0195205502/002-7834631-2410449">Amazon.com: Books: The Assassins</a><br />
1497             <a title="Amazon.com: Books: India : A Wounded Civilization" href="http://www.amazon.com/exec/obidos/tg/detail/-/1400030757/002-7834631-2410449">Amazon.com: Books: India : A Wounded Civilization</a><br />
1498             <a title="Amazon.com: Books: The Good Vibrations Guide to Sex: The Most Complete Sex Manual Ever Written" href="http://www.amazon.com/exec/obidos/tg/detail/-/1573441589/002-7834631-2410449">Amazon.com: Books: The Good Vibrations Guide to Sex: The Most Complete Sex Manual Ever Written</a><br />
1499             <a title="Amazon.com: Books: Trespassers on the Roof of the World: The Secret Exploration of Tibet (Kodansha Globe)" href="http://www.amazon.com/exec/obidos/tg/detail/-/1568360509/002-7834631-2410449">Amazon.com: Books: Trespassers on the Roof of the World: The Secret Exploration of Tibet (Kodansha Globe)</a><br />
1500             <a title="Amazon.com: Books: The Runaway Jury" href="http://www.amazon.com/exec/obidos/tg/detail/-/0440221471/002-7834631-2410449">Amazon.com: Books: The Runaway Jury</a><br />
1501             <a title="Amazon.com: Books: The Rainmaker" href="http://www.amazon.com/exec/obidos/tg/detail/-/044022165X/002-7834631-2410449">Amazon.com: Books: The Rainmaker</a></p>
1502             
1503             
1504             	
1505             
1506             
1507             
1508             <div class="posted">
1509             	<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/01/index.html#000283" title="Permanent Link to this Post.">05:54 PM</a><?php
1510             if ($hits) { 
1511                print " | Read ";
1512                echo "$hits";
1513 rizwank 1.1    print " time";
1514                if($hits != 1) echo 's';
1515             }
1516             ?>
1517             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=283" onclick="OpenComments(this.href); return false">Comments (0)</a>
1518             	
1519             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=283" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1520             	
1521             </div>
1522             
1523             </div>
1524             <?php
1525             
1526             // display the list of referers
1527             echo '<div class="sidetitle">Referrers</div>', "\n";
1528             echo '<div class="side">', "\n";
1529             
1530             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=283 GROUP BY referer ORDER BY count DESC, title';
1531             
1532             $rs = mysql_query( $sql );
1533             $n = 0;
1534 rizwank 1.1 
1535             while( $row = mysql_fetch_assoc( $rs ) ) {
1536               $referer1 = $row['referer'];
1537               $title = $row['title'];
1538               $count = $row['count'];
1539               $search = $row['search'];
1540             
1541               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1542                 $n++;
1543                 echo '<a href="', $referer1, '" target="_blank">';
1544                 echo $title . "</a> [" . $count . "]<br />\n";
1545               }
1546             }
1547             
1548             if (!($n)) {
1549                echo "No referrals yet<br />";
1550             }
1551             else {
1552             echo "<br />\n";
1553             echo 'referrers [referrals]<br />';
1554             }
1555 rizwank 1.1 echo '</div>';
1556             
1557             echo "<div class='sidetitle'>Search Terms</div>\n";
1558             echo "<div class='side'>";
1559             
1560             $rs = mysql_query( $sql );
1561             $n = 0;
1562             
1563             while( $row = mysql_fetch_assoc( $rs ) ) {
1564               $query = '';
1565             
1566               $referer1 = $row['referer'];
1567               $title = $row['title'];
1568               $count = $row['count'];
1569               $search = $row['search'];
1570             
1571               if ($search == 1) {
1572                 $n++;
1573                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1574                 echo $query . ' [' . $count . ']' . "<br />\n";
1575               }
1576 rizwank 1.1 }
1577             
1578             if (!($n)) { echo "No search terms yet<br />"; }
1579             else { echo "<br />search terms [hits]"; }
1580             echo "</div>";
1581             ?>
1582             
1583             
1584             
1585             <!--
1586             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1587                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1588                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1589             <rdf:Description
1590                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000282"
1591                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/281"
1592                 dc:title="Mixed Nuts"
1593                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000282"
1594                 dc:subject=""
1595                 dc:description="Its been an up and down day&amp;#8230; Arrived at home at 4 last morning, was playing Majora&amp;#8217;s Mask with Brian &amp;#8230; (He had the walkthrough in hand ;p ) &amp;#8230; Got there after FNM, which was cool. A friend made..."
1596                 dc:creator="Rizwank"
1597 rizwank 1.1     dc:date="2004-01-11T02:00:38-08:00" />
1598             </rdf:RDF>
1599             -->
1600             
1601             
1602             
1603             
1604             <div class="blogbody">
1605             <a name="000282"></a>
1606             <?php
1607             
1608             // record the referer
1609             if ($my_ip !== $remote_ip) {
1610                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (282, '$referer', '', $time)" );
1611             }
1612             
1613             // get the no. of times this entry has been read
1614             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=282' );
1615             $row = mysql_fetch_row( $rs );
1616             $hits = $row[0];
1617             
1618 rizwank 1.1 ?>
1619             <h3 class="title">Mixed Nuts</h3>
1620              
1621             <p>  <table align="left"><tr valign="bottom"><td>
1622                <p style="font-size:16pt"><b>
1623                 I</b>
1624                </p>
1625               </td></tr></table>
1626              ts been an up and down day&#8230;</p>
1627             
1628             <p>Arrived at home at 4 last morning, was playing Majora&#8217;s Mask with Brian &#8230; (He had the walkthrough in hand ;p ) &#8230; Got there after <span class="caps">FNM,</span> which was cool. A friend made a  <img src="http://www.geekymedia.com/magic/black_mana.gif" height="12" width="12" alt="black_mana" />  <img src="http://www.geekymedia.com/magic/blue_mana.gif" height="12" width="12" alt="blue_mana" />  Scepter Bounce Megrim deck at the last minute, and another made something similar to Adrian&#8217;s <span class="caps">LD </span>Ponza deck, which did decently&#8230;</p>
1629             
1630             <p>Today was a very late wakeup, a quick venture to get the mail and a muffin when I got my grades (finally!) </p>
1631             
1632             <p>Good news &#8230; The Discrete math class I was sure I was going to fail&#8230; &#8220;B-&#8220;<br />
1633             Bad news, didnt do better than a B for unknown reasons in any class.</p>
1634             
1635             <p>I&#8217;m talking about classes where I <i>defined</i> the curve on the midterms, so I&#8217;m not sure what type of mathematics were used to compute it. </p>
1636             
1637             <p>Mum just returned to home then, but was underwhelmed at the news; shrinks and her own experience tell her that positive reinforcement is important, plus, just as importantly, its nice to be nice. Dad was similar, and he ranted about other stuff that really pissed me off&#8230; Mom came and apologized right after though so we cuddled and talked and watched Ellen&#8217;s standup.</p>
1638             
1639 rizwank 1.1 <p>Ellen is amazing&#8230; I never paid attention to her visual expressionisim before..</p>
1640             
1641             <p>Day floated running errands, cleaning off invalid MP3s from the iPod, sorting my Snapfish photos &#8230; lamenting that I&#8217;m not shooting as much as I used to, etc.</p>
1642             
1643             <p>Evening was pizza with parents and a few board games with Brian and Nichole and Omar&#8230; its Omars last day with us. I&#8217;m constantly amazed about how open B/N are with sexuality and how they are game for anything &#8230; If I bring a girl with me, there can be fun had in that house; hell if I know if its something I&#8217;d be up for or not. </p>
1644             
1645             <p>Driving to B/Ns had me thinking in part of Robin, as I usually do on that drive. I&#8217;m taking a significant, if not permanent, hiatus from caring where the fuck she is, but I still think at times&#8230; I visualized seeing her, which lead to me kissing her hand, which lead to me thinking which was more romantic, kissing a hand or blowing a kiss, which lead to me thinking about blowing kisses, which lead to High School.</p>
1646             
1647             <p>I adored Shelly Shelby in high school. Whether or not it was in a dating sense, or something I was fully aware of, I had a massive crush on her; without even knowing it. She was my somewhat reluctant platonic prom date, but well before that, we were in 9th grade English together; and we were going through Romeo and Juilet scene by scene&#8230; we assumed that the teach would assign the makeout couple in the class to play the balcony scene, but it ended up being Shelly and <span class="caps">I. </span></p>
1648             
1649             <p>Now, you&#8217;ve got to put this into context. Take me, remove weight, height, social progression, tact, and pretty much ever social and physical aspect I have; and you have me at 9th grade. I was bright red, even with brown skin, during the entire play; my stuttering was at an all time high, and &#8230; I blew those kisses to her.</p>
1650             
1651             <p>I hadn&#8217;t ever kissed a girl; what was I to do?! I can&#8217;t imagine how it would be if this was the case now, or if I had been at all adept then, but yeah, thats like the fourth most embarassing story that comes to mind&#8230; anyhow, that train of thoughts came through&#8230;</p>
1652             
1653             <p>B/ns game playing turned disasterous, more on that in another blog, its just overly competitive and overly sensitve people; my annoyance when people bitch, some hipocracy(sp?) on my part, but thats for later.</p>
1654             
1655             <p>Driving home, I shedded the anger I had, esp. when Nichole gave me a big apologetic hug as I split &#8230; Listed to Shanna Easton&#8217;s &#8220;Telephone&#8221; for no apparent reason and was again reminded how much it applied to Serena and I for a time&#8230; then my mind wandered&#8230; and I thought of &#8230;</p>
1656             
1657             <p><b><span class="caps">HEATHER</span>!</b></p>
1658             
1659             <p>My <span class="caps">BEST FRIEND</span> is coming up here Tuesdayish night and staying till Thursday morning&#8230; shes in town&#8230; you could not understand <span class="caps">HOW HAPPY I WAS</span> when I remembered&#8230;. The rest of the drive was filled with 80ish happy songs :)</p>
1660 rizwank 1.1 
1661             <p>Got home and checked Hot-Or-Not, which is becoming something I&#8217;m doing again, even though Seth is probably right with his opinions, and I should be wary&#8230; Two emails from the emails I sent out today (10 matches, didn&#8217;t get around to emailing em till tonight), both seeming quite charming, one very excited to talk to me (hell if I know why), but just nice things said and letters to respond to &#8230;</p>
1662             
1663             <p>So yeah, this up and down day ended up.</p>
1664             
1665             <p><span class="caps">EDIT</span>: Emailed Helen, trying to mend bridges, not sure if its gonna work; but &#8216;twould be nice if it did. </p>
1666             
1667             
1668             	
1669             
1670             
1671             
1672             <div class="posted">
1673             	<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/01/index.html#000282" title="Permanent Link to this Post.">02:00 AM</a><?php
1674             if ($hits) { 
1675                print " | Read ";
1676                echo "$hits";
1677                print " time";
1678                if($hits != 1) echo 's';
1679             }
1680             ?>
1681 rizwank 1.1 		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=282" onclick="OpenComments(this.href); return false">Comments (0)</a>
1682             	
1683             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=282" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1684             	
1685             </div>
1686             
1687             </div>
1688             <?php
1689             
1690             // display the list of referers
1691             echo '<div class="sidetitle">Referrers</div>', "\n";
1692             echo '<div class="side">', "\n";
1693             
1694             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=282 GROUP BY referer ORDER BY count DESC, title';
1695             
1696             $rs = mysql_query( $sql );
1697             $n = 0;
1698             
1699             while( $row = mysql_fetch_assoc( $rs ) ) {
1700               $referer1 = $row['referer'];
1701               $title = $row['title'];
1702 rizwank 1.1   $count = $row['count'];
1703               $search = $row['search'];
1704             
1705               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1706                 $n++;
1707                 echo '<a href="', $referer1, '" target="_blank">';
1708                 echo $title . "</a> [" . $count . "]<br />\n";
1709               }
1710             }
1711             
1712             if (!($n)) {
1713                echo "No referrals yet<br />";
1714             }
1715             else {
1716             echo "<br />\n";
1717             echo 'referrers [referrals]<br />';
1718             }
1719             echo '</div>';
1720             
1721             echo "<div class='sidetitle'>Search Terms</div>\n";
1722             echo "<div class='side'>";
1723 rizwank 1.1 
1724             $rs = mysql_query( $sql );
1725             $n = 0;
1726             
1727             while( $row = mysql_fetch_assoc( $rs ) ) {
1728               $query = '';
1729             
1730               $referer1 = $row['referer'];
1731               $title = $row['title'];
1732               $count = $row['count'];
1733               $search = $row['search'];
1734             
1735               if ($search == 1) {
1736                 $n++;
1737                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1738                 echo $query . ' [' . $count . ']' . "<br />\n";
1739               }
1740             }
1741             
1742             if (!($n)) { echo "No search terms yet<br />"; }
1743             else { echo "<br />search terms [hits]"; }
1744 rizwank 1.1 echo "</div>";
1745             ?>
1746             
1747             
1748             
1749             <!--
1750             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1751                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1752                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1753             <rdf:Description
1754                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000281"
1755                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/280"
1756                 dc:title="Freestyle"
1757                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000281"
1758                 dc:subject=""
1759                 dc:description="I&amp;#8217;ve been rewatching the old Nike Free-style ad and freaking out. Damn its good. (Partially because of a TAL story talking about one of the players&amp;#8230;) Its almost impossible to find, nikebasketball no long has it for download, so I..."
1760                 dc:creator="Rizwank"
1761                 dc:date="2004-01-10T15:06:43-08:00" />
1762             </rdf:RDF>
1763             -->
1764             
1765 rizwank 1.1 
1766             <h2 class="date">January 10, 2004</h2>
1767             
1768             
1769             <div class="blogbody">
1770             <a name="000281"></a>
1771             <?php
1772             
1773             // record the referer
1774             if ($my_ip !== $remote_ip) {
1775                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (281, '$referer', '', $time)" );
1776             }
1777             
1778             // get the no. of times this entry has been read
1779             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=281' );
1780             $row = mysql_fetch_row( $rs );
1781             $hits = $row[0];
1782             
1783             ?>
1784             <h3 class="title">Freestyle</h3>
1785              
1786 rizwank 1.1 <p>  <table align="left"><tr valign="bottom"><td>
1787                <p style="font-size:16pt"><b>
1788                 I</b>
1789                </p>
1790               </td></tr></table>
1791              &#8217;ve been rewatching the old Nike Free-style ad and freaking out. Damn its good.</p>
1792             
1793             <p>(Partially because of a <span class="caps">TAL</span> story talking about one of the players&#8230;)</p>
1794             
1795             <p>Its almost impossible to find, nikebasketball no long has it for download, so I found it on some site that happens to be a High School site&#8230; ;p</p>
1796             
1797             <p><a href="http://www.huronvalley.k12.mi.us/schools/ovms/Students/2007/JeromeB/freestyle.mov" title="Freestyle">Freestyle</a> - 2:30sec<br />
1798             <a href="http://www.huronvalley.k12.mi.us/schools/ovms/Students/2007/JeromeB/new_freestyle_hi.mov" title="New Freestyle">New Freestyle</a> - 2:30sec</p>
1799             
1800             <p>The antiquated <a href="http://web.archive.org/web/20010502173537/http://nikebasketball.nike.com/nikebasketball/downloads/#" title="Nike Basketball ">Nike Basketball </a>site.</p>
1801             
1802             
1803             	
1804             
1805             
1806             
1807 rizwank 1.1 <div class="posted">
1808             	<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/01/index.html#000281" title="Permanent Link to this Post.">03:06 PM</a><?php
1809             if ($hits) { 
1810                print " | Read ";
1811                echo "$hits";
1812                print " time";
1813                if($hits != 1) echo 's';
1814             }
1815             ?>
1816             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=281" onclick="OpenComments(this.href); return false">Comments (0)</a>
1817             	
1818             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=281" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1819             	
1820             </div>
1821             
1822             </div>
1823             <?php
1824             
1825             // display the list of referers
1826             echo '<div class="sidetitle">Referrers</div>', "\n";
1827             echo '<div class="side">', "\n";
1828 rizwank 1.1 
1829             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=281 GROUP BY referer ORDER BY count DESC, title';
1830             
1831             $rs = mysql_query( $sql );
1832             $n = 0;
1833             
1834             while( $row = mysql_fetch_assoc( $rs ) ) {
1835               $referer1 = $row['referer'];
1836               $title = $row['title'];
1837               $count = $row['count'];
1838               $search = $row['search'];
1839             
1840               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1841                 $n++;
1842                 echo '<a href="', $referer1, '" target="_blank">';
1843                 echo $title . "</a> [" . $count . "]<br />\n";
1844               }
1845             }
1846             
1847             if (!($n)) {
1848                echo "No referrals yet<br />";
1849 rizwank 1.1 }
1850             else {
1851             echo "<br />\n";
1852             echo 'referrers [referrals]<br />';
1853             }
1854             echo '</div>';
1855             
1856             echo "<div class='sidetitle'>Search Terms</div>\n";
1857             echo "<div class='side'>";
1858             
1859             $rs = mysql_query( $sql );
1860             $n = 0;
1861             
1862             while( $row = mysql_fetch_assoc( $rs ) ) {
1863               $query = '';
1864             
1865               $referer1 = $row['referer'];
1866               $title = $row['title'];
1867               $count = $row['count'];
1868               $search = $row['search'];
1869             
1870 rizwank 1.1   if ($search == 1) {
1871                 $n++;
1872                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
1873                 echo $query . ' [' . $count . ']' . "<br />\n";
1874               }
1875             }
1876             
1877             if (!($n)) { echo "No search terms yet<br />"; }
1878             else { echo "<br />search terms [hits]"; }
1879             echo "</div>";
1880             ?>
1881             
1882             
1883             
1884             <!--
1885             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
1886                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
1887                      xmlns:dc="http://purl.org/dc/elements/1.1/">
1888             <rdf:Description
1889                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000280"
1890                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/279"
1891 rizwank 1.1     dc:title="Beauticians"
1892                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000280"
1893                 dc:subject=""
1894                 dc:description="I violated one of my base rules today. I complimented a Beautifican, and tried to flirt. Never ever a good idea. I&amp;#8217;m tempted to write it off to &amp;#8220;An industry that focuses on beauty is just one that doesn&amp;#8217;t look..."
1895                 dc:creator="Rizwank"
1896                 dc:date="2004-01-08T14:15:15-08:00" />
1897             </rdf:RDF>
1898             -->
1899             
1900             
1901             <h2 class="date">January 08, 2004</h2>
1902             
1903             
1904             <div class="blogbody">
1905             <a name="000280"></a>
1906             <?php
1907             
1908             // record the referer
1909             if ($my_ip !== $remote_ip) {
1910                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (280, '$referer', '', $time)" );
1911             }
1912 rizwank 1.1 
1913             // get the no. of times this entry has been read
1914             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=280' );
1915             $row = mysql_fetch_row( $rs );
1916             $hits = $row[0];
1917             
1918             ?>
1919             <h3 class="title">Beauticians</h3>
1920              
1921             <p>  <table align="left"><tr valign="bottom"><td>
1922                <p style="font-size:16pt"><b>
1923                 I</b>
1924                </p>
1925               </td></tr></table>
1926               violated one of my base rules today.</p>
1927             
1928             <p>I complimented a Beautifican, and tried to flirt.</p>
1929             
1930             <p>Never ever a good idea. I&#8217;m tempted to write it off to &#8220;An industry that focuses on beauty is just one that doesn&#8217;t look to personality in a person&#8221;, but I&#8217;m past the point of painting <span class="caps">THAT</span> wide of a brush. (Do I still believe that that applies to most people in the field though&#8230; maybe. who knows.) She had nice hair and I mentioned it to Jeanie while she was cutting me, and Jeanie suggested that I tell her. The hair salons always been filled with just quite good looking women, and while I used to think that attractive people tended toward this field, I now think that they take more care of themselves <span class="caps">BECAUSE</span> they are in this field&#8230; Ever known a dentist with really bad teeth?</p>
1931             
1932             <p>Anyhow, I told her afterwards and her first response was &#8220;Oh okay.&#8221; No excitement or any pleasure that someone had something nice to say. No biggie, but I violated my rule :)</p>
1933 rizwank 1.1 
1934             <p>I&#8217;m gonna stop by again just in case.</p>
1935             
1936             <p>Oh, another two girl stories. During my really boring Stats class yesterday, the girl to my right w/ cute glasses pulled out her old palm pilot, which led to a conversation in whispers. We talked more during the class break, but I think my voice cracked a bit when she mentioned her husband, so I might have been a bit too obviously embarrased after that ;p  I really need to start looking at ring fingers&#8230; but there are a <strong>lot</strong> of girls that just &#8230; well&#8230; wear rings for the hell of it.</p>
1937             
1938             <p>Another was a girl in the elevator whos backpack was spilling open&#8230; we chatted for about ten seconds after I mentioned, and it wouldn&#8217;t be at all noteworthy except that as she got off, and I wished her a nice day, she smiled me a massive genuine smile. Needless to say, I wrote down basic characteristics and the time on the elevator, just in case.</p>
1939             
1940             <p>How do other people meet girls, because it seems to be a constant comedy of errors and failures for me, which I dont mind, at least right now ;p</p>
1941             
1942             <p>Ok, time to continue @ work. theres plenty of insane things going on here, maybe I&#8217;ll blog about em later.</p>
1943             
1944             
1945             	
1946             
1947             
1948             
1949             <div class="posted">
1950             	<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/01/index.html#000280" title="Permanent Link to this Post.">02:15 PM</a><?php
1951             if ($hits) { 
1952                print " | Read ";
1953                echo "$hits";
1954 rizwank 1.1    print " time";
1955                if($hits != 1) echo 's';
1956             }
1957             ?>
1958             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=280" onclick="OpenComments(this.href); return false">Comments (0)</a>
1959             	
1960             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=280" onclick="OpenTrackback(this.href); return false">TrackBack</a>
1961             	
1962             </div>
1963             
1964             </div>
1965             <?php
1966             
1967             // display the list of referers
1968             echo '<div class="sidetitle">Referrers</div>', "\n";
1969             echo '<div class="side">', "\n";
1970             
1971             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=280 GROUP BY referer ORDER BY count DESC, title';
1972             
1973             $rs = mysql_query( $sql );
1974             $n = 0;
1975 rizwank 1.1 
1976             while( $row = mysql_fetch_assoc( $rs ) ) {
1977               $referer1 = $row['referer'];
1978               $title = $row['title'];
1979               $count = $row['count'];
1980               $search = $row['search'];
1981             
1982               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
1983                 $n++;
1984                 echo '<a href="', $referer1, '" target="_blank">';
1985                 echo $title . "</a> [" . $count . "]<br />\n";
1986               }
1987             }
1988             
1989             if (!($n)) {
1990                echo "No referrals yet<br />";
1991             }
1992             else {
1993             echo "<br />\n";
1994             echo 'referrers [referrals]<br />';
1995             }
1996 rizwank 1.1 echo '</div>';
1997             
1998             echo "<div class='sidetitle'>Search Terms</div>\n";
1999             echo "<div class='side'>";
2000             
2001             $rs = mysql_query( $sql );
2002             $n = 0;
2003             
2004             while( $row = mysql_fetch_assoc( $rs ) ) {
2005               $query = '';
2006             
2007               $referer1 = $row['referer'];
2008               $title = $row['title'];
2009               $count = $row['count'];
2010               $search = $row['search'];
2011             
2012               if ($search == 1) {
2013                 $n++;
2014                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2015                 echo $query . ' [' . $count . ']' . "<br />\n";
2016               }
2017 rizwank 1.1 }
2018             
2019             if (!($n)) { echo "No search terms yet<br />"; }
2020             else { echo "<br />search terms [hits]"; }
2021             echo "</div>";
2022             ?>
2023             
2024             
2025             
2026             <!--
2027             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2028                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2029                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2030             <rdf:Description
2031                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000279"
2032                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/278"
2033                 dc:title="Site Stuff"
2034                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000279"
2035                 dc:subject=""
2036                 dc:description="I&amp;#8217;m really at the point where I need to decide what I&amp;#8217;m going to do with this site. Traffic isn&amp;#8217;t much, I know HeatherW and Serena read it &amp;#8230; and thats it. Seriously. Got a hit from Adelanto a few..."
2037                 dc:creator="Rizwank"
2038 rizwank 1.1     dc:date="2004-01-07T11:33:55-08:00" />
2039             </rdf:RDF>
2040             -->
2041             
2042             
2043             <h2 class="date">January 07, 2004</h2>
2044             
2045             
2046             <div class="blogbody">
2047             <a name="000279"></a>
2048             <?php
2049             
2050             // record the referer
2051             if ($my_ip !== $remote_ip) {
2052                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (279, '$referer', '', $time)" );
2053             }
2054             
2055             // get the no. of times this entry has been read
2056             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=279' );
2057             $row = mysql_fetch_row( $rs );
2058             $hits = $row[0];
2059 rizwank 1.1 
2060             ?>
2061             <h3 class="title">Site Stuff</h3>
2062              
2063             <p>  <table align="left"><tr valign="bottom"><td>
2064                <p style="font-size:16pt"><b>
2065                 I</b>
2066                </p>
2067               </td></tr></table>
2068              &#8217;m really at the point where I need to decide what I&#8217;m going to do with this site. </p>
2069             
2070             <p>Traffic isn&#8217;t much, I know HeatherW and Serena read it &#8230; and thats it. </p>
2071             
2072             <p>Seriously. Got a hit from Adelanto a few days ago so a co-worker probably saw it. Lots of google searches for Pakistani stuff, This American Life stuff, people searching for warez torrents, Seth when I prod him to..</p>
2073             
2074             <p>It could be said that I&#8217;m suffering from a lack of friends that give a damn. I prefer to call it that my friends aren&#8217;t that blog-savvy. </p>
2075             
2076             <p>Either way, it sucks. I&#8217;m at the point that I&#8217;m just really going to try to avoid looking at traffic at all. Seriously. Posting code ideas and random crap, but enjoying myself and making the site look cool&#8230;</p>
2077             
2078             <p>Anyhow, hospital work is still a mess, but at this point I&#8217;ve got 3/4 of the classes I need&#8230; with any luck, back to <span class="caps">UCLA</span> next quarter. Politics at the hospital are nuts ..</p>
2079             
2080 rizwank 1.1 <p>We played sealed last night with &#8230; wait for it &#8230; Mirrodinx4, 1xOnslaught, 1xScourge.  No, I&#8217;m serious. Details later. </p>
2081             
2082             <p>Working on a timeline for work now and a comprehensive &#8220;what will it take to get a universal login script with audit for domain and non-domain machines to work&#8221; &#8230; anyknow know of a programming language for basic scripting that works in w95 -&gt; winxp &#8230; <span class="caps">WSH</span> is out, it doesn&#8217;t have 95 &#8230; perl comes to mind, but then each computer would ahve to have perl installed. .. and I can&#8217;t make a standalone C++ app &#8216;cause they need to be able to change it after I leave. </p>
2083             
2084             <p>:thunkage:</p>
2085             
2086             <p>Oh, this <span class="caps">TOTALLY FREAKS ME OUT.</span><br />
2087             <a href="http://www.glimpseofagrrl.com/archives/001204.php"><img alt="sf20040102[1].gif" src="http://www.geekymedia.com/sf20040102[1].gif" width="668" height="276" border="0" /></a></p>
2088             
2089             <p>(Mainly cause its totally true. I hate girls. Today anyhow. Not really though.)</p>
2090             
2091             
2092             	
2093             
2094             
2095             
2096             <div class="posted">
2097             	<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/01/index.html#000279" title="Permanent Link to this Post.">11:33 AM</a><?php
2098             if ($hits) { 
2099                print " | Read ";
2100                echo "$hits";
2101 rizwank 1.1    print " time";
2102                if($hits != 1) echo 's';
2103             }
2104             ?>
2105             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=279" onclick="OpenComments(this.href); return false">Comments (1)</a>
2106             	
2107             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=279" onclick="OpenTrackback(this.href); return false">TrackBack</a>
2108             	
2109             </div>
2110             
2111             </div>
2112             <?php
2113             
2114             // display the list of referers
2115             echo '<div class="sidetitle">Referrers</div>', "\n";
2116             echo '<div class="side">', "\n";
2117             
2118             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=279 GROUP BY referer ORDER BY count DESC, title';
2119             
2120             $rs = mysql_query( $sql );
2121             $n = 0;
2122 rizwank 1.1 
2123             while( $row = mysql_fetch_assoc( $rs ) ) {
2124               $referer1 = $row['referer'];
2125               $title = $row['title'];
2126               $count = $row['count'];
2127               $search = $row['search'];
2128             
2129               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
2130                 $n++;
2131                 echo '<a href="', $referer1, '" target="_blank">';
2132                 echo $title . "</a> [" . $count . "]<br />\n";
2133               }
2134             }
2135             
2136             if (!($n)) {
2137                echo "No referrals yet<br />";
2138             }
2139             else {
2140             echo "<br />\n";
2141             echo 'referrers [referrals]<br />';
2142             }
2143 rizwank 1.1 echo '</div>';
2144             
2145             echo "<div class='sidetitle'>Search Terms</div>\n";
2146             echo "<div class='side'>";
2147             
2148             $rs = mysql_query( $sql );
2149             $n = 0;
2150             
2151             while( $row = mysql_fetch_assoc( $rs ) ) {
2152               $query = '';
2153             
2154               $referer1 = $row['referer'];
2155               $title = $row['title'];
2156               $count = $row['count'];
2157               $search = $row['search'];
2158             
2159               if ($search == 1) {
2160                 $n++;
2161                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2162                 echo $query . ' [' . $count . ']' . "<br />\n";
2163               }
2164 rizwank 1.1 }
2165             
2166             if (!($n)) { echo "No search terms yet<br />"; }
2167             else { echo "<br />search terms [hits]"; }
2168             echo "</div>";
2169             ?>
2170             
2171             
2172             
2173             <!--
2174             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2175                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2176                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2177             <rdf:Description
2178                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000277"
2179                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/276"
2180                 dc:title="Link Cleanup"
2181                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000277"
2182                 dc:subject=""
2183                 dc:description="Sony Global - QRIO A standalone Robot&amp;#8230; I know I&amp;#8217;ve heard this somewhere&amp;#8230; I didn&amp;#8217;t want to google it, trying to remember&amp;#8230; Venkman: This city is headed for a disaster of biblical proportions. Mayor: What do you mean, biblical? Ray:..."
2184                 dc:creator="Rizwank"
2185 rizwank 1.1     dc:date="2004-01-04T18:08:28-08:00" />
2186             </rdf:RDF>
2187             -->
2188             
2189             
2190             <h2 class="date">January 04, 2004</h2>
2191             
2192             
2193             <div class="blogbody">
2194             <a name="000277"></a>
2195             <?php
2196             
2197             // record the referer
2198             if ($my_ip !== $remote_ip) {
2199                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (277, '$referer', '', $time)" );
2200             }
2201             
2202             // get the no. of times this entry has been read
2203             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=277' );
2204             $row = mysql_fetch_row( $rs );
2205             $hits = $row[0];
2206 rizwank 1.1 
2207             ?>
2208             <h3 class="title">Link Cleanup</h3>
2209              
2210             <p><a title="Sony Global - QRIO" href="http://www.sony.net/SonyInfo/QRIO/top_nf.html">  <table align="left"><tr valign="bottom"><td>
2211                <p style="font-size:16pt"><b>
2212                 S</b>
2213                </p>
2214               </td></tr></table>
2215              ony Global - <span class="caps">QRIO</span></a></p>
2216             
2217             <p>A standalone Robot&#8230;</p>
2218             
2219             I <em>know</em> I&#8217;ve heard this somewhere&#8230; I didn&#8217;t want to google it, trying to remember&#8230;<br />
2220             <blockquote>
2221                     Venkman: This city is headed for a disaster of biblical proportions.<br />
2222                     Mayor: What do you mean, biblical?<br />
2223                     Ray: What he means is Old Testament, Mr. Mayor&#8230; real Wrath-of-God-type stuff. Fire and brimstone coming down from the skies.<br />
2224                     Venkman: Rivers and seas boiling!<br />
2225                     Egon: 40 years of darkness, earthquakes, volcanos.<br />
2226                     Winston:The dead rising from the grave!<br />
2227 rizwank 1.1         Venkman: Human sacrifice, dogs and cats, living together&#8230; mass hysteria!<br />
2228             </blockquote>
2229             
2230             <p>Ok, the really <a href="http://www.glimpseofagrrl.com/archives/001208.php" title="Beautiful Girl ">Beautiful Girl </a>I linked to, was, in fact, Audrey Hepburn. With Short Hair. God I wish I was&#8230;. you know&#8230;. alive then.</p>
2231             
2232             <p>Thanks to the actual Grrl for setting me straight. Good for you that you finally discovered The American President. Time to watch SportsNight and The West Wing (dear God, not the new episodes). Her site is quite cool, and if I&#8217;ll perma link when I get around to updating the templates. (Her blogtree is broken, and I don&#8217;t know what a blog tree is, so I&#8217;ll see if I&#8217;m on it when she fixes it).</p>
2233             
2234             <p>The <a href="http://www.glimpseofagrrl.com/refer/index.php" title="Referrers ">Referrers </a>and the combination of comments and trackbacks is quite cool&#8230; Time to steal some design ideas :)</p>
2235             
2236             <p>Stuff on <span class="caps">LI </span>Batterys, with HeatherW in mind. (and my iPod)<br />
2237             <a href="http://www.buchmann.ca/" title="BatteryCollege">Batteries in a Portable World</a><br />
2238             <a href="http://slashdot.org/comments.pl?sid=90050&amp;cid=7775402" title="Apple Battery Engineers ">Apple Battery Engineers </a><a href="http://www.batteryuniversity.com/parttwo-34.htm" title="How to prolong lithium-based batteries @ BatteryUniversity">How to prolong lithium-based batteries @ BatteryUniversity</a></p>
2239             
2240             <p>I&#8217;ve been reading my site logs recently, now that I setup something other than Seth&#8217;s apparently non-existant logging system&#8230; Granted its only the main page (actually a big flaw now that I think about it), but I get SO much traffic from search engines ;p &#8230; oh, that and people searching to download This American Life&#8230; I really should post my MP3s of <span class="caps">TAL.</span></p>
2241             
2242             <p>Wow this is <a href="http://www.appleturns.com/" title="amazingly ">amazingly </a>cool&#8230;</p>
2243             
2244             <blockquote>
2245             Of course, if you want some serious rumorological craziness in the TV realm, faithful viewer Donovan Doak points out a macosx.com article chock full of &#8220;exclusive insider information&#8221; on the &#8220;iBox,&#8221; a hard drive-based standalone personal video recorder allegedly slated to ship from Apple sometime in early 2004. Get this: we&#8217;re talking about a $400-$600 <span class="caps">VCR</span>-on-steroids that looks like the illegitimate offspring of a Power Mac G5 and an iPod and supposedly packs AirPort Extreme, a 10/100 Ethernet port, FireWire and <span class="caps">USB</span> ports, a full-fledged G3 processor, and a SuperDrive. You plug your TV into the video ports, you throw it on your wired or wireless network, and bam, you can schedule recordings from any Mac in the house (or log in remotely from any system on the Internet). It runs iTunes and iPhoto and can stream songs and pictures from your Macs or store it on its local 120 GB hard disk for all to share. It has a stripped-down version of iDVD so you can burn your recordings to disc right on the unit itself. If you want, you can also watch iBox-recorded shows on any of your networked Macs. Oh, and you can control it from your Bluetooth phone.<br />
2246             </blockquote>
2247             
2248 rizwank 1.1 Hmm&#8230;<a href="http://sfgate.com/cgi-bin/article.cgi?f=/c/a/2004/01/04/INGPQ40MB81.DTL" title=" this"> this</a> is kind of disturbing<br />
2249             <blockquote>
2250             When President Bush travels around the United States, the Secret Service visits the location ahead of time and orders local police to set up &#8220;free speech zones&#8221; or &#8220;protest zones,&#8221; where people opposed to Bush policies (and sometimes sign-carrying supporters) are quarantined. These zones routinely succeed in keeping protesters out of presidential sight and outside the view of media covering the event. </blockquote>
2251             
2252             <p>There is buzz that Jobs will announce a $100US Ipod with 2Gig storage at MacWorld&#8230;. 800 songs or so&#8230; That&#8217;d be quite cool. I still love mine :Hugs his iPod: (I was actually hugging it there btw), but more people having them can only lead to good things :)</p>
2253             
2254             <p>Oh, I&#8217;ve started browsing Hot Or Not again. You know I&#8217;m down when I start doing stupid shit like that.</p>
2255             
2256             <p>Its weird. I have about a month and a half of good days, then two weeks of lousy ones&#8230; Just odd, thats all.</p>
2257             
2258             <p>Is Opera better than myIE2?</p>
2259             
2260             <p>More&#8230;</p>
2261             
2262             <p><a href="http://www.aftenposten.no/english/local/article.jhtml?articleID=696330" title="DVD-Jon wins new legal victory"><span class="caps">DVD</span>-Jon wins new legal victory</a></p>
2263             
2264             <p>Norway&#8217;s most famous computer whiz got an early Christmas present on Monday. An appeals court in Oslo upheld Jon Lech Johansen&#8217;s earlier acquittal on all counts of alleged copyright violations.</p>
2265             
2266             <p>Oh, a story via my dad.<br />
2267             Turns out that DirectTV (or Dishnetwork) spent $30M on their new &#8220;unhackable&#8221; generation of auth cards&#8230; It seems that a lawyer from one of their lawfirms leaked all the confidential details on the net&#8230; its already been hacked.</p>
2268             
2269 rizwank 1.1 <p>I&#8217;m <span class="caps">NOT AT ALL</span> a fan of Nasa&#8217;s homepage containing a Flash app, even if its reasonably short and quiet. That being said, <a href="http://www.nasa.gov/home/hqnews/2003/dec/HQ_04002_spirit_wrap.html" title="Spirit ">Spirit </a>landed in one piece, so I&#8217;m willing to forgive them for it. <span class="caps">YAY FOR EXPLORATION </span>:) &#8230; Explaining how a probe slingshots around a gravity source was interesting. The fact that Spirit only has a 15W transmitter still floors me.<br />
2270             Nasa&#8217;s doing good on PR at the moment, with a homepage <a href="http://www.nasa.gov/vision/earth/technologies/spinoffs.html" title="article">article</a> talking about the advanced that <span class="caps">NASA</span> has brought to everyday life&#8230; and a cool thing on <a href="http://www.nasa.gov/vision/earth/livingthings/lizards.html" title="lizards">lizards</a>. :) They got a bit of a <a href="http://www.nasa.gov/vision/universe/solarsystem/stardust_update.html" title="comet">comet</a> too!</p>
2271             
2272             <p>Finally, ISOhunt <a href="http://isohunt.com/forum/viewtopic.php?t=746" title="released ">released </a>a system whereby Torrents can be linked to a dynamic server address, making &#8220;dead tracker&#8221; and &#8220;dead file server&#8221; problems a lot less likely as this gets deployed.</p>
2273             
2274             
2275             	
2276             
2277             
2278             
2279             <div class="posted">
2280             	<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/01/index.html#000277" title="Permanent Link to this Post.">06:08 PM</a><?php
2281             if ($hits) { 
2282                print " | Read ";
2283                echo "$hits";
2284                print " time";
2285                if($hits != 1) echo 's';
2286             }
2287             ?>
2288             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=277" onclick="OpenComments(this.href); return false">Comments (1)</a>
2289             	
2290 rizwank 1.1 		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=277" onclick="OpenTrackback(this.href); return false">TrackBack</a>
2291             	
2292             </div>
2293             
2294             </div>
2295             <?php
2296             
2297             // display the list of referers
2298             echo '<div class="sidetitle">Referrers</div>', "\n";
2299             echo '<div class="side">', "\n";
2300             
2301             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=277 GROUP BY referer ORDER BY count DESC, title';
2302             
2303             $rs = mysql_query( $sql );
2304             $n = 0;
2305             
2306             while( $row = mysql_fetch_assoc( $rs ) ) {
2307               $referer1 = $row['referer'];
2308               $title = $row['title'];
2309               $count = $row['count'];
2310               $search = $row['search'];
2311 rizwank 1.1 
2312               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
2313                 $n++;
2314                 echo '<a href="', $referer1, '" target="_blank">';
2315                 echo $title . "</a> [" . $count . "]<br />\n";
2316               }
2317             }
2318             
2319             if (!($n)) {
2320                echo "No referrals yet<br />";
2321             }
2322             else {
2323             echo "<br />\n";
2324             echo 'referrers [referrals]<br />';
2325             }
2326             echo '</div>';
2327             
2328             echo "<div class='sidetitle'>Search Terms</div>\n";
2329             echo "<div class='side'>";
2330             
2331             $rs = mysql_query( $sql );
2332 rizwank 1.1 $n = 0;
2333             
2334             while( $row = mysql_fetch_assoc( $rs ) ) {
2335               $query = '';
2336             
2337               $referer1 = $row['referer'];
2338               $title = $row['title'];
2339               $count = $row['count'];
2340               $search = $row['search'];
2341             
2342               if ($search == 1) {
2343                 $n++;
2344                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2345                 echo $query . ' [' . $count . ']' . "<br />\n";
2346               }
2347             }
2348             
2349             if (!($n)) { echo "No search terms yet<br />"; }
2350             else { echo "<br />search terms [hits]"; }
2351             echo "</div>";
2352             ?>
2353 rizwank 1.1 
2354             
2355             
2356             <!--
2357             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2358                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2359                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2360             <rdf:Description
2361                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000276"
2362                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/275"
2363                 dc:title="Location Location Location"
2364                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000276"
2365                 dc:subject=""
2366                 dc:description="ACME Mapper @ N 34.503909 W 117.31924, 32 m/p Heres where Victorville is. Online sat. databases are like the coolest thing. I&amp;#8217;m looking to us to add myself to GeoURL, and The World As a Blog. I feel a sudden..."
2367                 dc:creator="Rizwank"
2368                 dc:date="2004-01-03T15:28:50-08:00" />
2369             </rdf:RDF>
2370             -->
2371             
2372             
2373             <h2 class="date">January 03, 2004</h2>
2374 rizwank 1.1 
2375             
2376             <div class="blogbody">
2377             <a name="000276"></a>
2378             <?php
2379             
2380             // record the referer
2381             if ($my_ip !== $remote_ip) {
2382                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (276, '$referer', '', $time)" );
2383             }
2384             
2385             // get the no. of times this entry has been read
2386             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=276' );
2387             $row = mysql_fetch_row( $rs );
2388             $hits = $row[0];
2389             
2390             ?>
2391             <h3 class="title">Location Location Location</h3>
2392              
2393             <p><a title="ACME Mapper @ N 34.503909 W 117.31924, 32 m/p" href="http://www.acme.com/mapper/?lat=34.503917&amp;long=-117.319235&amp;scale=15"><span class="caps">  <table align="left"><tr valign="bottom"><td>
2394                <p style="font-size:16pt"><b>
2395 rizwank 1.1     A</b>
2396                </p>
2397               </td></tr></table>
2398              CME </span>Mapper @ <span class="caps">N 34.503909 W 117.31924, 32</span> m/p</a></p>
2399             
2400             <p>Heres where Victorville is. </p>
2401             
2402             <p>Online sat. databases are like the coolest thing.</p>
2403             
2404             <p>I&#8217;m looking to us to add myself to <a href="http://www.geourl.com/" title="GeoURL">GeoURL</a>, and <a href="http://brainoff.com/geoblog/" title="The World As a Blog">The World As a Blog</a>.</p>
2405             
2406             <p>I feel a sudden urge to contribute or make something. I&#8217;ll finish my fax spam database today or tomorrow&#8230; not like I&#8217;m making the world a better place by making it easier for the &#8216;rents to fax broadcast, but&#8230; you do what you can do.</p>
2407             
2408             <p>The <a href="http://www.acme.com/mapper/?lat=34.498561&amp;long=-117.27522&amp;scale=9&amp;theme=Image&amp;width=3&amp;height=2&amp;dot=Yes" title="exact loc ">exact loc </a>of my house.</p>
2409             
2410             <p>Project <a href="http://www.sidebit.com/ProjectLocateIP.php" title="Locate IP address">Locate IP address</a>, to help me when I&#8217;m reading my newfangled server logs.<br />
2411             (That being said, it says my IP is in Irwindale so&#8230;)</p>
2412             
2413             <p><span class="caps">OOH</span> theres an MT plugin! <a href="http://www.codewitch.org/archives/000121.html" title="MTLocation">MTLocation</a>! Theres a lotta crap to <a href="http://www.codewitch.org/software/mt-plugins/MTLocation/" title="read">read</a> later.</p>
2414             
2415             <p><a href="http://geourl.org/near/?p=http://www.geekymedia.com" title="check out my neighbors in meatspace">
2416 rizwank 1.1 <img src="http://geourl.org/geourl.png" border=0 width=52 height=14 />
2417             </a></p>
2418             
2419             <p>This <a href="http://www.glimpseofagrrl.com/archives/001198.php" title="girl ">girl </a>is gorgeous btw. I need to read more of the site, of course, though.<br />
2420             By the way, I really need to work on the look of this site.<br />
2421             And, you know, start posting stuff <a href="http://www.livejournal.com/users/banana/418201.html?mode=reply" title="worth">worth</a> reading.</p>
2422             
2423             <p>I&#8217;ve spent the last five minutes <a href="http://brainoff.com/geoblog/clouds/" title="watching">watching</a> blog entries as they come through.<br />
2424             This is so amazingly fascinating. What makes other people so interesting?</p>
2425             
2426             
2427             	
2428             
2429             
2430             
2431             <div class="posted">
2432             	<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/01/index.html#000276" title="Permanent Link to this Post.">03:28 PM</a><?php
2433             if ($hits) { 
2434                print " | Read ";
2435                echo "$hits";
2436                print " time";
2437 rizwank 1.1    if($hits != 1) echo 's';
2438             }
2439             ?>
2440             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=276" onclick="OpenComments(this.href); return false">Comments (1)</a>
2441             	
2442             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=276" onclick="OpenTrackback(this.href); return false">TrackBack</a>
2443             	
2444             </div>
2445             
2446             </div>
2447             <?php
2448             
2449             // display the list of referers
2450             echo '<div class="sidetitle">Referrers</div>', "\n";
2451             echo '<div class="side">', "\n";
2452             
2453             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=276 GROUP BY referer ORDER BY count DESC, title';
2454             
2455             $rs = mysql_query( $sql );
2456             $n = 0;
2457             
2458 rizwank 1.1 while( $row = mysql_fetch_assoc( $rs ) ) {
2459               $referer1 = $row['referer'];
2460               $title = $row['title'];
2461               $count = $row['count'];
2462               $search = $row['search'];
2463             
2464               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
2465                 $n++;
2466                 echo '<a href="', $referer1, '" target="_blank">';
2467                 echo $title . "</a> [" . $count . "]<br />\n";
2468               }
2469             }
2470             
2471             if (!($n)) {
2472                echo "No referrals yet<br />";
2473             }
2474             else {
2475             echo "<br />\n";
2476             echo 'referrers [referrals]<br />';
2477             }
2478             echo '</div>';
2479 rizwank 1.1 
2480             echo "<div class='sidetitle'>Search Terms</div>\n";
2481             echo "<div class='side'>";
2482             
2483             $rs = mysql_query( $sql );
2484             $n = 0;
2485             
2486             while( $row = mysql_fetch_assoc( $rs ) ) {
2487               $query = '';
2488             
2489               $referer1 = $row['referer'];
2490               $title = $row['title'];
2491               $count = $row['count'];
2492               $search = $row['search'];
2493             
2494               if ($search == 1) {
2495                 $n++;
2496                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2497                 echo $query . ' [' . $count . ']' . "<br />\n";
2498               }
2499             }
2500 rizwank 1.1 
2501             if (!($n)) { echo "No search terms yet<br />"; }
2502             else { echo "<br />search terms [hits]"; }
2503             echo "</div>";
2504             ?>
2505             
2506             
2507             
2508             <!--
2509             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2510                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2511                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2512             <rdf:Description
2513                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000275"
2514                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/274"
2515                 dc:title="Thoughts on the Future of Pockt Computing"
2516                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000275"
2517                 dc:subject=""
2518                 dc:description="Part 1: Bullet Train..."
2519                 dc:creator="Rizwank"
2520                 dc:date="2004-01-03T15:23:16-08:00" />
2521 rizwank 1.1 </rdf:RDF>
2522             -->
2523             
2524             
2525             
2526             
2527             <div class="blogbody">
2528             <a name="000275"></a>
2529             <?php
2530             
2531             // record the referer
2532             if ($my_ip !== $remote_ip) {
2533                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (275, '$referer', '', $time)" );
2534             }
2535             
2536             // get the no. of times this entry has been read
2537             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=275' );
2538             $row = mysql_fetch_row( $rs );
2539             $hits = $row[0];
2540             
2541             ?>
2542 rizwank 1.1 <h3 class="title">Thoughts on the Future of Pockt Computing</h3>
2543              
2544             <p><a title="Part 1: Bullet Train" href="http://www.jakeehrlich.com/Review/BulletTrain/BulletTrain.htm">  <table align="left"><tr valign="bottom"><td>
2545                <p style="font-size:16pt"><b>
2546                 P</b>
2547                </p>
2548               </td></tr></table>
2549              art 1: Bullet Train</a></p>
2550             
2551             
2552             	
2553             
2554             
2555             
2556             <div class="posted">
2557             	<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/01/index.html#000275" title="Permanent Link to this Post.">03:23 PM</a><?php
2558             if ($hits) { 
2559                print " | Read ";
2560                echo "$hits";
2561                print " time";
2562                if($hits != 1) echo 's';
2563 rizwank 1.1 }
2564             ?>
2565             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=275" onclick="OpenComments(this.href); return false">Comments (0)</a>
2566             	
2567             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=275" onclick="OpenTrackback(this.href); return false">TrackBack</a>
2568             	
2569             </div>
2570             
2571             </div>
2572             <?php
2573             
2574             // display the list of referers
2575             echo '<div class="sidetitle">Referrers</div>', "\n";
2576             echo '<div class="side">', "\n";
2577             
2578             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=275 GROUP BY referer ORDER BY count DESC, title';
2579             
2580             $rs = mysql_query( $sql );
2581             $n = 0;
2582             
2583             while( $row = mysql_fetch_assoc( $rs ) ) {
2584 rizwank 1.1   $referer1 = $row['referer'];
2585               $title = $row['title'];
2586               $count = $row['count'];
2587               $search = $row['search'];
2588             
2589               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
2590                 $n++;
2591                 echo '<a href="', $referer1, '" target="_blank">';
2592                 echo $title . "</a> [" . $count . "]<br />\n";
2593               }
2594             }
2595             
2596             if (!($n)) {
2597                echo "No referrals yet<br />";
2598             }
2599             else {
2600             echo "<br />\n";
2601             echo 'referrers [referrals]<br />';
2602             }
2603             echo '</div>';
2604             
2605 rizwank 1.1 echo "<div class='sidetitle'>Search Terms</div>\n";
2606             echo "<div class='side'>";
2607             
2608             $rs = mysql_query( $sql );
2609             $n = 0;
2610             
2611             while( $row = mysql_fetch_assoc( $rs ) ) {
2612               $query = '';
2613             
2614               $referer1 = $row['referer'];
2615               $title = $row['title'];
2616               $count = $row['count'];
2617               $search = $row['search'];
2618             
2619               if ($search == 1) {
2620                 $n++;
2621                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2622                 echo $query . ' [' . $count . ']' . "<br />\n";
2623               }
2624             }
2625             
2626 rizwank 1.1 if (!($n)) { echo "No search terms yet<br />"; }
2627             else { echo "<br />search terms [hits]"; }
2628             echo "</div>";
2629             ?>
2630             
2631             
2632             
2633             <!--
2634             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2635                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2636                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2637             <rdf:Description
2638                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000274"
2639                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/273"
2640                 dc:title="Yay to Random Sites"
2641                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000274"
2642                 dc:subject=""
2643                 dc:description="Windows XP And PIO I&amp;#8217;ve been annoyed about my hard drive (primary) running as a PIO drive instead of UDMA, explaining the CRAP performance and system slowdowns when I do basic things, like play mp3s. Just found out how to..."
2644                 dc:creator="Rizwank"
2645                 dc:date="2004-01-03T15:05:27-08:00" />
2646             </rdf:RDF>
2647 rizwank 1.1 -->
2648             
2649             
2650             
2651             
2652             <div class="blogbody">
2653             <a name="000274"></a>
2654             <?php
2655             
2656             // record the referer
2657             if ($my_ip !== $remote_ip) {
2658                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (274, '$referer', '', $time)" );
2659             }
2660             
2661             // get the no. of times this entry has been read
2662             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=274' );
2663             $row = mysql_fetch_row( $rs );
2664             $hits = $row[0];
2665             
2666             ?>
2667             <h3 class="title">Yay to Random Sites</h3>
2668 rizwank 1.1  
2669             <p><a title="Windows XP And PIO" href="http://www.overclockers.com/tips839/">  <table align="left"><tr valign="bottom"><td>
2670                <p style="font-size:16pt"><b>
2671                 W</b>
2672                </p>
2673               </td></tr></table>
2674              indows <span class="caps">XP </span>And <span class="caps">PIO</span></a></p>
2675             
2676             <p>I&#8217;ve been annoyed about my hard drive (primary) running as a <span class="caps">PIO</span> drive instead of <span class="caps">UDMA,</span> explaining the <span class="caps">CRAP</span> performance and system slowdowns when I do basic things, like play mp3s. Just found out how to fix it (while I was on hold with <span class="caps">MS </span>Professional support) &#8230;</p>
2677             
2678             <p>Yay <span class="caps">GOOGLE</span>!</p>
2679             
2680             
2681             	
2682             
2683             
2684             
2685             <div class="posted">
2686             	<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/01/index.html#000274" title="Permanent Link to this Post.">03:05 PM</a><?php
2687             if ($hits) { 
2688                print " | Read ";
2689 rizwank 1.1    echo "$hits";
2690                print " time";
2691                if($hits != 1) echo 's';
2692             }
2693             ?>
2694             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=274" onclick="OpenComments(this.href); return false">Comments (0)</a>
2695             	
2696             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=274" onclick="OpenTrackback(this.href); return false">TrackBack</a>
2697             	
2698             </div>
2699             
2700             </div>
2701             <?php
2702             
2703             // display the list of referers
2704             echo '<div class="sidetitle">Referrers</div>', "\n";
2705             echo '<div class="side">', "\n";
2706             
2707             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=274 GROUP BY referer ORDER BY count DESC, title';
2708             
2709             $rs = mysql_query( $sql );
2710 rizwank 1.1 $n = 0;
2711             
2712             while( $row = mysql_fetch_assoc( $rs ) ) {
2713               $referer1 = $row['referer'];
2714               $title = $row['title'];
2715               $count = $row['count'];
2716               $search = $row['search'];
2717             
2718               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
2719                 $n++;
2720                 echo '<a href="', $referer1, '" target="_blank">';
2721                 echo $title . "</a> [" . $count . "]<br />\n";
2722               }
2723             }
2724             
2725             if (!($n)) {
2726                echo "No referrals yet<br />";
2727             }
2728             else {
2729             echo "<br />\n";
2730             echo 'referrers [referrals]<br />';
2731 rizwank 1.1 }
2732             echo '</div>';
2733             
2734             echo "<div class='sidetitle'>Search Terms</div>\n";
2735             echo "<div class='side'>";
2736             
2737             $rs = mysql_query( $sql );
2738             $n = 0;
2739             
2740             while( $row = mysql_fetch_assoc( $rs ) ) {
2741               $query = '';
2742             
2743               $referer1 = $row['referer'];
2744               $title = $row['title'];
2745               $count = $row['count'];
2746               $search = $row['search'];
2747             
2748               if ($search == 1) {
2749                 $n++;
2750                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2751                 echo $query . ' [' . $count . ']' . "<br />\n";
2752 rizwank 1.1   }
2753             }
2754             
2755             if (!($n)) { echo "No search terms yet<br />"; }
2756             else { echo "<br />search terms [hits]"; }
2757             echo "</div>";
2758             ?>
2759             
2760             
2761             
2762             <!--
2763             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2764                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2765                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2766             <rdf:Description
2767                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000273"
2768                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/272"
2769                 dc:title="State of Employment"
2770                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000273"
2771                 dc:subject=""
2772                 dc:description="Well, c&amp;#8217;est la vie. First, working at a corporation larger than 15 people has always eroded my sense of well-being. I see stupidity, selfishness, pettyness and snobbery only equally matched by the cliques in my high school. Examples of things..."
2773 rizwank 1.1     dc:creator="Rizwank"
2774                 dc:date="2004-01-02T16:16:08-08:00" />
2775             </rdf:RDF>
2776             -->
2777             
2778             
2779             <h2 class="date">January 02, 2004</h2>
2780             
2781             
2782             <div class="blogbody">
2783             <a name="000273"></a>
2784             <?php
2785             
2786             // record the referer
2787             if ($my_ip !== $remote_ip) {
2788                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (273, '$referer', '', $time)" );
2789             }
2790             
2791             // get the no. of times this entry has been read
2792             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=273' );
2793             $row = mysql_fetch_row( $rs );
2794 rizwank 1.1 $hits = $row[0];
2795             
2796             ?>
2797             <h3 class="title">State of Employment</h3>
2798              
2799             <p>  <table align="left"><tr valign="bottom"><td>
2800                <p style="font-size:16pt"><b>
2801                 W</b>
2802                </p>
2803               </td></tr></table>
2804              ell, c&#8217;est la vie.</p>
2805             
2806             <p>First, working at a corporation larger than 15 people has always eroded my sense of well-being. I see stupidity, selfishness, pettyness and snobbery only equally matched by the cliques in my high school. </p>
2807             
2808             <p>Examples of things that randomly freak me out.<br />
2809             * I couldn&#8217;t get my ID badge last week cause the person who did them sent out an email that they wouldn&#8217;t do them. Never mind that the <span class="caps">CEO</span> of the company walked down with me to get the badge, it couldn&#8217;t be done. HR doesn&#8217;t do the badges, security does. HR doesnt know how to. No one else knows how to.<br />
2810             * My boss <strong>finally</strong> went to his boss to ask for an extension for my work time. I, of course, wanted this to become a perm part time job, which I am both qualified for and would do well at. Furthermore, his boss is the guy who got me this gig in the first place and a family friend for about ten years. He got a &#8220;keep him till next week, then we will see.&#8221; &#8230; Other people came into the office while my boss was there. Figures eh? Can&#8217;t even get a straight answer, and I can&#8217;t plan for the future when I dont know if I&#8217;m going to be here next week&#8230; do I take on a large project if it means it&#8217;ll be half done and unsalvagable if I have to leave&#8230;?<br />
2811             * One of the people interrupting the aforementioned meeting was someone attempting to get a pager for a doctor. Given that its a hospital, and doctors being what they are, you&#8217;d think this would be an easy job&#8230; Nope. There is <span class="caps">ONE</span> person who assigns pagers, orders and distrubtes them, and &#8230; wait for it&#8230; shes out for four weeks. The hospital is pager-less (for new pagers anyhow) for four weeks. And this place makes many millions of dollars a year. Go figure.<br />
2812             * There is a lady who cleans the fake flowers on the second terrace level. This is a hospital that was recently bleeding money out of every orifice until the original owner came back and saved it, and they have someone spending time cleaning fake flowers. Mind you, I don&#8217;t mean brushing them, but going through each leaf petal&#8230; a ten foot long by one foot width patch took her a half hour.<br />
2813             * The help desk lady here argues with the IT techs that they don&#8217;t move asset tags properly when they move computers. They wont even leave her notes and she complains that shes been labeled the &#8216;bitch&#8217; because she continually demands that she does it. (Mind you, she probably the lowest in the org chain here) The bosses agree with her but can&#8217;t force the guys to keep up with it (or choose not to.) <br />
2814             * By the way, would she run into similar problems if she wasn&#8217;t a woman? (Or if she wasn&#8217;t the lease knowledgble of the people working her?) &#8230; It doesnt really seem fair. I&#8217;ve suggested ideas just as unpopular and haven&#8217;t gotten nearly that much resistance. I really do wonder how much of it is gender here.<br />
2815 rizwank 1.1 * We use many expensive licenses of a certain product that could instead be replaced by a freeware product at very little implementation cost, but the guy who administrates the first product would go ballistic, and the boss has already said &#8220;I don&#8217;t want to hear any more about this.&#8221; (This apparently before I came around.) I&#8217;ve written up a doc detailing why we should switch and gave it to a manager (below my boss, above me) and we are going through it. I went to his office to ask him how this third draft looked, and after a bit I realized that hes wants me to take it straight to management. I&#8217;m flabbergasted, because, while switching IS the right thing to do, I&#8217;m not sure that it&#8217;s worth the trouble for either of us that would result&#8230; and I see the fallacy.  I&#8217;m used to doing things whether they piss people off or not, but I&#8217;ve never gone over the <span class="caps">BOS</span>Ses head, but thats mainly because I normally super-respect my bosses. Aaron and Barry were amazing and Barry&#8217;s my definition of an ideal boss, as far as I&#8217;m concerned. So yeah, I&#8217;m freaked out about this.<br />
2816             * Speaking of the manager, he commented about me staying for (at least) one week more, &#8220;yeah I&#8217;d like to see you around.&#8221; I apparently bring energy, knowledge, good ideas along, but mixed with some poor directions. Specifically, my naivete&#8217;, and yeah I can agree. I am nothing, if not naive. And I damn well plan to remain so. For me, passing through naivete means becoming embittered. His good comments, were of course, massively apprecaited.<br />
2817             * Dale Carnegie did me some good. I can ask things of co-workers that I normally couldn&#8217;t ask by couching it just right, suggest some ideas <span class="caps">BECAUSE</span> they assume I&#8217;m nieve and get something through the door that I couldn&#8217;t before. </p>
2818             
2819             <p>A teacher taught me about the 80/20 (or is it 90/10) rule. 20% of all the people do 80% of the work. Its so amazingly true, but I hate thinking so because I usually put myself among the 20%, deprioritze manual and non-skilled labor, and completely write off upper management. I&#8217;m wrong for that. There are administrators who do really work hard (instead of <strong>thinking</strong> that they are working hard), guys moving boxes and keyboard typists that take a pride in their work. Its just&#8230; if you aren&#8217;t creating something, what do you have to be proud in? </p>
2820             
2821             <p>I&#8217;ve forgotten how much training I&#8217;ve had in being a leader. I&#8217;m not saying I&#8217;m good at it, I&#8217;m just saying I&#8217;ve been in that position a lot. From <span class="caps">UCL</span>Atv, to <span class="caps">RYLA,</span> to watching Aaron, Barry, and Hall, to directing peers at Comedy World or even personal ventures. I like to be in charge, and sometimes I actually earn the respect of my peers. I&#8217;ll be damned if I know.</p>
2822             
2823             <p>Theres this inner fear thats been building slowly over the years&#8230; that I&#8217;m destined to be a Dilbert Manager.. the fact that <span class="caps">I CAN</span> speak manager-speak and relate to the same, could mean that I&#8217;m good at bridging the gap, or that I&#8217;m destined to become antoehr head of hair. (Dilberts boss chose maangement candidates based on their hairstyle&#8230;)</p>
2824             
2825             <p>Documentation, by the way, is a knowledge workers best friend. Coders don&#8217;t often comment their code because they consider it job security. I just call it stupid. (I could, of course, be wrong.) When I provide flowcharts, documentation and management summaries, I am both given more responsibility/power because they know I&#8217;m accountable, and the managers are happy because they can see what I&#8217;ve done and am doing. It isn&#8217;t that the managers are (necessarily) too dumb to focus on what I&#8217;m handing them as far as raw code goes, its that they really don&#8217;t have the time. I know Aaron and Barry apprecaited summaries, if for no other reason then I could talk off their ear for an hour in excitement, talking about my current project. Documenting helps me stay focused as well, I&#8217;ve got about twenty text files on my desktop detailing thoughts that I might lose later or commenting, etc; explaining all my thoughts to someone or writing a summary on a napkin (search my blog for napkin for the story) lets the Attention problems shine through, and who wants that. Yeah, some time gets wasted on the documentation that could be spent on other things, but there are some advantages. Normally when I&#8217;m developing at work, I&#8217;m running at double-speed&#8230; I need to work at simpler things at times to calm down/re focus. Documentation helps ME focus. </p>
2826             
2827             <p>On that, I go to return the <span class="caps">PS2,</span> the Treo, and play some Magic!</p>
2828             
2829             
2830             	
2831             
2832             
2833             
2834             <div class="posted">
2835             	<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/01/index.html#000273" title="Permanent Link to this Post.">04:16 PM</a><?php
2836 rizwank 1.1 if ($hits) { 
2837                print " | Read ";
2838                echo "$hits";
2839                print " time";
2840                if($hits != 1) echo 's';
2841             }
2842             ?>
2843             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=273" onclick="OpenComments(this.href); return false">Comments (0)</a>
2844             	
2845             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=273" onclick="OpenTrackback(this.href); return false">TrackBack</a>
2846             	
2847             </div>
2848             
2849             </div>
2850             <?php
2851             
2852             // display the list of referers
2853             echo '<div class="sidetitle">Referrers</div>', "\n";
2854             echo '<div class="side">', "\n";
2855             
2856             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=273 GROUP BY referer ORDER BY count DESC, title';
2857 rizwank 1.1 
2858             $rs = mysql_query( $sql );
2859             $n = 0;
2860             
2861             while( $row = mysql_fetch_assoc( $rs ) ) {
2862               $referer1 = $row['referer'];
2863               $title = $row['title'];
2864               $count = $row['count'];
2865               $search = $row['search'];
2866             
2867               if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
2868                 $n++;
2869                 echo '<a href="', $referer1, '" target="_blank">';
2870                 echo $title . "</a> [" . $count . "]<br />\n";
2871               }
2872             }
2873             
2874             if (!($n)) {
2875                echo "No referrals yet<br />";
2876             }
2877             else {
2878 rizwank 1.1 echo "<br />\n";
2879             echo 'referrers [referrals]<br />';
2880             }
2881             echo '</div>';
2882             
2883             echo "<div class='sidetitle'>Search Terms</div>\n";
2884             echo "<div class='side'>";
2885             
2886             $rs = mysql_query( $sql );
2887             $n = 0;
2888             
2889             while( $row = mysql_fetch_assoc( $rs ) ) {
2890               $query = '';
2891             
2892               $referer1 = $row['referer'];
2893               $title = $row['title'];
2894               $count = $row['count'];
2895               $search = $row['search'];
2896             
2897               if ($search == 1) {
2898                 $n++;
2899 rizwank 1.1     $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
2900                 echo $query . ' [' . $count . ']' . "<br />\n";
2901               }
2902             }
2903             
2904             if (!($n)) { echo "No search terms yet<br />"; }
2905             else { echo "<br />search terms [hits]"; }
2906             echo "</div>";
2907             ?>
2908             
2909             
2910             
2911             <!--
2912             <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2913                      xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
2914                      xmlns:dc="http://purl.org/dc/elements/1.1/">
2915             <rdf:Description
2916                 rdf:about="http://www.geekymedia.com/archives/2004/01/index.html#000272"
2917                 trackback:ping="http://www.geekymedia.com/blogcgi/mt-tb.cgi/271"
2918                 dc:title="Happy New Years"
2919                 dc:identifier="http://www.geekymedia.com/archives/2004/01/index.html#000272"
2920 rizwank 1.1     dc:subject=""
2921                 dc:description="I would like to report another successful New Years Eve/Day. By successful, I mean, not letting myself get caught up in the social events and ensuing sadness of the holiday :) Inital plans included an Indian Music party with the..."
2922                 dc:creator="Rizwank"
2923                 dc:date="2004-01-02T00:30:07-08:00" />
2924             </rdf:RDF>
2925             -->
2926             
2927             
2928             
2929             
2930             <div class="blogbody">
2931             <a name="000272"></a>
2932             <?php
2933             
2934             // record the referer
2935             if ($my_ip !== $remote_ip) {
2936                mysql_query( "INSERT INTO mt_entryhits(entry_id, referer,title,time) VALUES (272, '$referer', '', $time)" );
2937             }
2938             
2939             // get the no. of times this entry has been read
2940             $rs = mysql_query( 'SELECT COUNT(*) FROM mt_entryhits WHERE entry_id=272' );
2941 rizwank 1.1 $row = mysql_fetch_row( $rs );
2942             $hits = $row[0];
2943             
2944             ?>
2945             <h3 class="title">Happy New Years</h3>
2946              
2947             <p>  <table align="left"><tr valign="bottom"><td>
2948                <p style="font-size:16pt"><b>
2949                 I</b>
2950                </p>
2951               </td></tr></table>
2952               would like to report another successful New Years Eve/Day.</p>
2953             
2954             <p>By successful, I mean, not letting myself get caught up in the social events and ensuing sadness of the holiday :)</p>
2955             
2956             <p>Inital plans included an Indian Music party with the rents; I had really really hoped to do something with Robin, with it being the first time that I was dating someone during New Years&#8230; (EDIT: Actually I was with  (ex-gf2)  ,but I dont recall why we didnt do anything &#8230; oh right, her family didn&#8217;t know about me ;p ) but not having spoken to her kinda disuadded that. Another plan was the join Brian and Nichole at their friends house, and the third idea was to go to this new bar kinda place that opened in the ville&#8230; reminds me of Malones by <span class="caps">UCLA,</span> casual and fun (at least when I peaked in.)</p>
2957             
2958             <p>I played Final Fantasy X-2 and slept before midnight.</p>
2959             
2960             <p>The Indian party turned out to be somewhat of a flop.<br />
2961             I wasn&#8217;t in the mood to hang out with anyone.<br />
2962 rizwank 1.1 And the self assigned pressure of being at a bar for New Years, finding a girl (always self imposed pressure), the kiss after the countdown, and being (seemingly) the only guy sipping his drink instead of snogging someone kinda kept me from the bar. That being said, I almost went for one specific reason. My fortune cookie from my New Years Eve dinner read &#8220;Wednesday is your lucky day.&#8221; &#8230; I laughed for about ten minutes straight.</p>
2963             
2964             <p>Anyhow. I never liked doing things for New Years.. partially due to the lack of being with someone, but just as much as I don&#8217;t see a reason to celebrate. (If you think you don&#8217;t really need a reason to celebrate, you have a point.) I tend to be happier sleeping earlier and goofing off New Years Day; which I did.</p>
2965             
2966             <p><span class="caps">FF X2</span> is okay, I almost shut it off many times though as the intrusion of modern day language crept into its lexicon; such Yiddish classics as &#8220;Schelpped&#8221; and &#8220;Kosher as a Pickle&#8221; had me furious, for example. FF is in a mixture of a modern and ancient world; fine, I can handle that, and even like it; but bringing colloquilal English is just pushing the line as far as I&#8217;m concerned. &#8221; &#8216;kay &#8221; doesn&#8217;t belong in a fantasy game.</p>
2967             
2968             <p>Made it to about 1/4 through Chapter 3 of <span class="caps">FFX2</span> until I lost steam; a minor game fluke kept me from abusing a way of making lots and lots of gil, and with a sudden plot twist and confusing directions, I hit save and left.</p>
2969             
2970             <p>Watched the West Wing pilot just now &#8230; Pilots are a funny thing. You get so much more insight into character development than you do normally, but so many things are off kilter&#8230; watch the first episode of ST:TNG, for instance. </p>
2971             
2972             <p>Maybe I&#8217;ll hit <span class="caps">FNM</span> tonight. I want to go see the Producers, and I&#8217;m about <i>this</i> close to buying two $25 tickets and showing up outside Robins door 3 hours early Saturday. I&#8217;m gonna be persistant, no reason not to be.</p>
2973             
2974             <p>Whats up with people I&#8217;ve dated thinking of my race primarily, when they think of me. With  (ex-gf1)  it was &#8220;My Third Worlder,&#8221;  (ex-gf2)  &#8220;My Little Terrorist&#8221; and apparently now I&#8217;m a Gentlemen of the East. Fuck If I know why, I&#8217;m about as white washed as they come&#8230;  makes me wonder how much skin color actually lodges in peoples minds&#8230; :shakes his head:</p>
2975             
2976             <p>All in all its been a nice time&#8230; Making $14 or $17/hr at <span class="caps">DVMG,</span> with a likely continuion to part time during school; a revised <span class="caps">UCLA</span> schedule has me finishing in 3.75 quarters if a) everything transfers okay and b) <span class="caps">UCLA</span> lets me change to Comp. Engineering. </p>
2977             
2978             <p>Bought and later returned a Tungsten Palm, tried the <a href="http://discussion.treocentral.com/tcforum/-t45041/sc920b4c569556718f032400e33807573.html" title="two device solution">two device solution</a> with a bluetooth phone and <span class="caps">PDA,</span> but I think I&#8217;m gonna stick with the Treo. </p>
2979             
2980             <p>Whats really cool is that I&#8217;ve been in a good mood all this time. Jogging suit, playing games, watching TV and reading isn&#8217;t bad for a few days&#8230; Only minute hits of depression were in the last hour or so, but a nice orange (look mom, I actually chose fruit instead of chocolate) and a West Wing ep fixed that.</p>
2981             
2982             <p>Turns out the reason my computer has shit for performance is that the primary hard drive is being accessed via <span class="caps">PIO,</span> not <span class="caps">UDMA,</span> explaining the lousy performance and the cpu lockups during access&#8230; <span class="caps">UDMA</span> bypasses the processor for data retrieval, <span class="caps">PIO</span> doesn&#8217;t. </p>
2983 rizwank 1.1 
2984             <p>Anyhow to everyone, a happy new year to you all. May we strengthen the bonds of friendship that we have, forge others, improve ourselves and our character, overcome some fears, help someone else overcome theirs, and smile more.<br />
2985             -Rizwan</p>
2986             
2987             
2988             	
2989             
2990             
2991             
2992             <div class="posted">
2993             	<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/01/index.html#000272" title="Permanent Link to this Post.">12:30 AM</a><?php
2994             if ($hits) { 
2995                print " | Read ";
2996                echo "$hits";
2997                print " time";
2998                if($hits != 1) echo 's';
2999             }
3000             ?>
3001             		| <a href="http://www.geekymedia.com/blogcgi/mt-comments.cgi?entry_id=272" onclick="OpenComments(this.href); return false">Comments (1)</a>
3002             	
3003             		| <a href="http://www.geekymedia.com/blogcgi/mt-tb.cgi?__mode=view&amp;entry_id=272" onclick="OpenTrackback(this.href); return false">TrackBack</a>
3004 rizwank 1.1 	
3005             </div>
3006             
3007             </div>
3008             <?php
3009             
3010             // display the list of referers
3011             echo '<div class="sidetitle">Referrers</div>', "\n";
3012             echo '<div class="side">', "\n";
3013             
3014             $sql = 'SELECT search, time, title, referer, COUNT(*) AS count FROM mt_entryhits WHERE entry_id=272 GROUP BY referer ORDER BY count DESC, title';
3015             
3016             $rs = mysql_query( $sql );
3017             $n = 0;
3018             
3019             while( $row = mysql_fetch_assoc( $rs ) ) {
3020               $referer1 = $row['referer'];
3021               $title = $row['title'];
3022               $count = $row['count'];
3023               $search = $row['search'];
3024             
3025 rizwank 1.1   if ((strpos($referer1,'ttp://') == 1) && ($search == 0) && (trim($title) !== '-') && (trim($title) !== '')) {
3026                 $n++;
3027                 echo '<a href="', $referer1, '" target="_blank">';
3028                 echo $title . "</a> [" . $count . "]<br />\n";
3029               }
3030             }
3031             
3032             if (!($n)) {
3033                echo "No referrals yet<br />";
3034             }
3035             else {
3036             echo "<br />\n";
3037             echo 'referrers [referrals]<br />';
3038             }
3039             echo '</div>';
3040             
3041             echo "<div class='sidetitle'>Search Terms</div>\n";
3042             echo "<div class='side'>";
3043             
3044             $rs = mysql_query( $sql );
3045             $n = 0;
3046 rizwank 1.1 
3047             while( $row = mysql_fetch_assoc( $rs ) ) {
3048               $query = '';
3049             
3050               $referer1 = $row['referer'];
3051               $title = $row['title'];
3052               $count = $row['count'];
3053               $search = $row['search'];
3054             
3055               if ($search == 1) {
3056                 $n++;
3057                 $query = "<a href='" . $referer1 . "'>" . $title . "</a>";
3058                 echo $query . ' [' . $count . ']' . "<br />\n";
3059               }
3060             }
3061             
3062             if (!($n)) { echo "No search terms yet<br />"; }
3063             else { echo "<br />search terms [hits]"; }
3064             echo "</div>";
3065             ?>
3066             
3067 rizwank 1.1 
3068             
3069             </div>
3070             </div>
3071             <?php
3072             //Change the following to your email address
3073             $email = "rizwank@geekymedia.com";
3074             
3075             if(eregi("googlebot",$_SERVER['HTTP_USER_AGENT'])) 
3076             { 
3077             mail($email, "Googlebot detected",
3078             "Google has crawled : ".$_SERVER['REQUEST_URI']); 
3079             }
3080             ?>
3081             <br>
3082             <php
3083             $rs = mysql_query( "SELECT * FROM mt_entryhits" );
3084             $deletetime = time() - (60 * 60 * 24);
3085             mysql_query( "DELETE FROM mt_entryhits WHERE time < $deletetime and entry_id = 0" );
3086             
3087             while ($row = mysql_fetch_assoc($rs)) {
3088 rizwank 1.1    if ($referer == $row['referer']) {
3089                   $title = $row['title'];
3090                }
3091             }
3092             
3093             if (($title == '') || (strpos($title,'ttp://')) && ($referer !== '')) {
3094                if ($title1 = getquery($referer)) {
3095                   $title = addslashes($title1);
3096                   $search = 1;
3097                }
3098                else { $search = 0; }
3099                if (!($search)) { $title = addslashes(URLHelper::getTitle($referer)); }
3100                if (strpos($referer,'encquery')) {
3101                   $title = addslashes(substr($title,26,-2));
3102                   $search = 1;
3103                }
3104                if (strpos($referer,'info.dogpl')) {
3105                   $title = substr($title,21);
3106                   $search = 1;
3107                }
3108                if ((trim($title) == '-') || (trim($title) === '')) { $title = $referer; }
3109 rizwank 1.1    if (!($search) && (strlen(trim($title)) > 45)) {$title = substr($title,0,42) . "..."; }
3110                else if (trim(strlen($title)) > 52) { $title = substr($title,0,49) . "..."; }
3111             }
3112             
3113             mysql_query( "UPDATE mt_entryhits SET title='$title', search=$search WHERE referer='$referer'" );
3114             
3115             function getquery($ref){
3116                 $queries = array("search=", "epq=", "p=", "qkw=", "q=", "query=", "va=", "qry=", "userQuery=", "searchfor=", "question=", "sb=");
3117             
3118                 while(list($key,$val)=each($queries)){
3119                     $pos = 0;//initialize
3120                     $pos = strpos($ref, $val);
3121                     if (strpos($ref,'encquery')) { $pos = 0; }
3122                     #$ret .= "($pos $val)";
3123                     if($pos > 0){
3124                         $endpos = strpos ($ref, "&", $pos);
3125                         if(trim($endpos) == ""){
3126                             $search = substr($ref, ($pos+strlen($val)), strlen($ref)-$pos);
3127                         }else{
3128                             $search = substr ($ref, ($pos+strlen($val)), ($endpos-$pos)-2);
3129                         }
3130 rizwank 1.1             $endpos = strpos ($search, "&");
3131                         if(trim($endpos)) {
3132                             $search = substr ($search, 0, $endpos);
3133                         }
3134                         $searched = trim($search);
3135                         $searched = str_replace("+", " ", $search);
3136                         $searched = str_replace("%2E", ".", $searched);
3137                         $searched = str_replace("%2B", "+", $searched);
3138                         $searched = str_replace("%2b", "+", $searched);
3139                         $searched = str_replace("%22", '"', $searched);
3140                         $searched = str_replace("%22", '"', $searched);
3141                         $searched = str_replace("%20", " ", $searched);
3142                         $searched = str_replace("%3F", "?", $searched);
3143                         $searched = str_replace("%28", "(", $searched);
3144                         $searched = str_replace("%27", "'", $searched);
3145                         $searched = str_replace("%3A", ":", $searched);
3146                         $searched = str_replace("%2C", ",", $searched);
3147                         $searched = str_replace("%24", "$", $searched);
3148                         $searched = str_replace("%21", "!", $searched);
3149                         $searched = str_replace("%5C", "\\", $searched);
3150                         $searched = str_replace("%2F", "/", $searched);
3151 rizwank 1.1             if(trim($searched) == ""){
3152                             $searched = substr($ref, $pos, strlen($ref)-$pos)."($endpos)";
3153                         }
3154                     }
3155                 }
3156                 if(trim($searched) !== "") {
3157                     return "$searched";
3158                 }else{
3159                     return false;
3160                 }
3161             }// end function
3162             
3163             ?>
3164             
3165             
3166             </body>
3167             </html>

Rizwan Kassim
Powered by
ViewCVS 0.9.2