Changeset 1333
- Timestamp:
- 02/16/07 11:09:22 (2 years ago)
- Files:
-
- feedmelinks/diespammersdie/TOS.inc.php (modified) (1 diff)
- feedmelinks/img/code-poet-private.jpg (added)
- feedmelinks/modules/highest-linking-users.inc.php (modified) (1 diff)
- feedmelinks/modules/main-interface.inc.php (modified) (4 diffs)
- feedmelinks/modules/utils.inc.php (modified) (5 diffs)
- feedmelinks/testing/.htaccess (modified) (1 diff)
- feedmelinks/thanks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
feedmelinks/diespammersdie/TOS.inc.php
r1248 r1333 7 7 <li>That my Feed Me Links account may be immediately suspended and my links deleted</li> 8 8 <li>That I may be prosecuted to the fullest extent of the law pursuant to whatever criminal and civil codes The Admins find germane to my method of mis-use.</li> 9 <li>That may be pursued to the ends of the earth and stalked electronically for my sins against the decent, spam-hating users of the internet.</li>9 <li>That I may be pursued to the ends of the earth and stalked electronically for my sins against the decent, spam-hating users of the internet.</li> 10 10 </ol> 11 11 <li>That is all :-)</li> feedmelinks/modules/highest-linking-users.inc.php
r1331 r1333 3 3 4 4 $limit = $limit ? $limit : 7; 5 $qs = "SELECT COUNT(*) AS lc, userid AS u FROM links WHERE isPrivate IS NULL GROUP BY userid ORDER BY lc DESC LIMIT $limit;";5 $qs = getQuery( "top_linking_users", 7 ); 6 6 7 7 $con = mysql_connect(); feedmelinks/modules/main-interface.inc.php
r1331 r1333 9 9 include( "modules/new-user-no-links.inc.php" ); 10 10 } 11 else { 12 13 $qs = getQuery( "sorted_tags_per_user", $u ); 14 $q = mysql_query( $qs ); 15 if( $q ) 16 $num_tags = $numRows = mysql_num_rows($q); 17 else 18 echo "<!-- ERROR: running <?= $qs ?> -->"; 19 ?> 20 <big style='margin-left: 6px;'> 21 You have <?= number_format( $num_links ) ?> links and <?= number_format( $num_tags ) ?> tags. 22 </big> 23 <?php 24 } 11 25 ?> 12 26 … … 14 28 <div class="subhead"> 15 29 <?php 16 $qs = getQuery( "sorted_tags_per_user", $u );17 $q = mysql_query( $qs );18 if( $q )19 $num_tags = $numRows = mysql_num_rows($q);20 else {21 ?> <!-- ERROR: running <?= $qs ?> --> <?php22 }23 30 24 31 $tagbox_title = ($num_tags < 4) … … 37 44 </div> 38 45 <?php 39 if( $num_tags > 4 ) {46 if( $num_tags >= 4 ) { 40 47 $qs2 = getQuery( "links_per_user", $u ); 41 48 $q2 = mysql_query( $qs2 ); … … 99 106 100 107 <div id="rightColumn"> 108 109 <?php include( "$modules/my-recent.inc.php" ); ?> 110 111 <?php include( "$modules/recent.inc.php" ); ?> 112 113 <?php include( "$modules/random-links.inc.php" ); ?> 114 101 115 <div id="news" class="box"> 102 116 <?php include( "$modules/news-divs.inc.php" ); ?> 103 117 </div> 104 105 <?php include( "$modules/recent.inc.php" ); ?>106 107 <?php include( "$modules/my-recent.inc.php" ); ?>108 109 <?php include( "$modules/random-links.inc.php" ); ?>110 118 </div> 111 119 feedmelinks/modules/utils.inc.php
r1331 r1333 28 28 </style> 29 29 30 31 <form method="post"> 30 32 <table> 31 33 <th> … … 73 75 <?= getPLAINUserLink( $user ) ?> | <small><a href="/admin/snuff?user=<?= $user ?>">snuff?</a></small> 74 76 </td> 77 <td> 78 <input type="checkbox" name="snuff_user_<?= urlencode( $user ) ?>"/> 79 </td> 75 80 </tr> 76 81 <?php … … 79 84 </tbody> 80 85 </table> 86 <p/> 87 <input type="submit" value="Moderate Splinkers"/> 88 </form> 81 89 <?php 82 90 return ob_get_clean(); … … 1897 1905 LEFT JOIN linksCategoriesXRef ON links.ID = linksCategoriesXRef.linkID WHERE linksCategoriesXRef.linkID IS NULL "; 1898 1906 1907 } else if( $argWhichQuery == "top_linking_users" ) { 1908 return " 1909 SELECT COUNT(*) AS lc, links.userid AS u FROM links, linksUsers WHERE linksUsers.userid = links.userid AND isPrivate IS NULL AND snuffed IS NULL GROUP BY links.userid ORDER BY lc DESC LIMIT " . $args[1] . ";"; 1910 1911 1899 1912 } else if( $argWhichQuery == "tag_spammer" ) { 1900 1913 return " … … 1907 1920 } else if( $argWhichQuery == "user_by_link_criteria" ) { 1908 1921 return " 1909 SELECT linksUsers.snuffed, links.userid, count(links.userid) FROM links, linksUsers WHERE links. " . $args[1] . " LIKE '%" . urlencode( $args[2] ) . "%' and links.userid = linksUsers.userid GROUP BY links.userid having count(links.userid) >= 1;";1922 SELECT linksUsers.snuffed, links.userid, count(links.userid) FROM links, linksUsers WHERE links.isPrivate IS NULL and links." . $args[1] . " LIKE '%" . urlencode( $args[2] ) . "%' and links.userid = linksUsers.userid GROUP BY links.userid having count(links.userid) >= 1;"; 1910 1923 1911 1924 } else if( $argWhichQuery == "snuff_username" ) { feedmelinks/testing/.htaccess
r1015 r1333 5 5 require valid-user 6 6 </Limit> 7 8 DirectoryIndex index.php index.html index.wml 9 Options MultiViews Includes Indexes FollowSymLinks 10 feedmelinks/thanks.php
r1248 r1333 46 46 <div class="rowbox"> 47 47 <h1 style="text-align: center;"> 48 Account created !48 Account created - Check your Email! 49 49 </h1> 50 50 </div>