Permalink
Browse files

Initial public commit

  • Loading branch information...
r04r committed Dec 16, 2014
0 parents commit 6618a049745f0fc3fde9b51d7db5fe5e8b9ba042
Showing with 36,647 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +311 −0 .htaccess
  3. +29 −0 Minnie/ip_info.php
  4. +9 −0 README.md
  5. +677 −0 action.php
  6. +32 −0 android/link_device.php
  7. BIN android/minichanNotifier.apk
  8. +57 −0 android/register_device.php
  9. +13 −0 android/test.php
  10. BIN apple-touch-icon-114x114-precomposed.png
  11. BIN apple-touch-icon-57x57-precomposed.png
  12. BIN apple-touch-icon-72x72-precomposed.png
  13. +31 −0 back_up_id.php
  14. +85 −0 bans.php
  15. +124 −0 bulletins.php
  16. +136 −0 bulletins_mod.php
  17. +217 −0 bulletins_new.php
  18. +2 −0 chrome-extension/.htaccess
  19. BIN chrome-extension/MinichanNotifier.safariextz
  20. +52 −0 chrome-extension/changelog.php
  21. BIN chrome-extension/minichan.crx
  22. BIN chrome-extension/minichannotifier.xpi
  23. +157 −0 chrome-extension/notifications.php
  24. +24 −0 chrome-extension/omnibox.php
  25. +27 −0 chrome-extension/server/authenticate.php
  26. +29 −0 chrome-extension/server/bootstrap.php
  27. +1 −0 chrome-extension/server/settings.php
  28. +88 −0 chrome-extension/update.php
  29. +6 −0 chrome-extension/update.xml
  30. +41 −0 cms.php
  31. +92 −0 cms_edit.php
  32. +131 −0 copy.php
  33. +206 −0 dashboard.php
  34. +20 −0 date_and_time.php
  35. +13 −0 debug.txt
  36. +29 −0 debug_proxy.php
  37. +40 −0 defcon.php
  38. +91 −0 deleted_topics.php
  39. +30 −0 drop_id.php
  40. +39 −0 edit_ignore_list.php
  41. +115 −0 events.php
  42. +136 −0 events_mod.php
  43. +192 −0 events_new.php
  44. +141 −0 experiment.html
  45. +87 −0 exterminate.php
  46. +57 −0 failed_postings.php
  47. BIN favicon.gif
  48. BIN flags/china.png
  49. +70 −0 folks.php
  50. +5 −0 gen_pass.php
  51. +38 −0 geofag.php
  52. +1,280 −0 hello.html
  53. +110 −0 history.php
  54. +47 −0 hot_topics.php
  55. +22 −0 hurr.php
  56. 0 img/.keep
  57. +5 −0 includes/.htaccess
  58. +621 −0 includes/ChromePhp.class.php
  59. +27 −0 includes/ChromePhp.php
  60. +155 −0 includes/config.example.php
  61. +285 −0 includes/database.class.php
  62. +5 −0 includes/footer.php
  63. +1,719 −0 includes/functions.php
  64. +437 −0 includes/header.php
  65. 0 includes/index.html
  66. BIN includes/pqp/.DS_Store
  67. +101 −0 includes/pqp/README.txt
  68. +90 −0 includes/pqp/classes/Console.php
  69. +115 −0 includes/pqp/classes/MySqlDatabase.php
  70. +204 −0 includes/pqp/classes/PhpQuickProfiler.php
  71. +406 −0 includes/pqp/css/pQp.css
  72. +350 −0 includes/pqp/display.php
  73. BIN includes/pqp/images/overlay.gif
  74. BIN includes/pqp/images/side.png
  75. +178 −0 includes/pqp/index.php
  76. +271 −0 includes/pqp/pqp.tpl
  77. +271 −0 includes/recaptchalib.php
  78. +324 −0 includes/template.php
  79. +34 −0 includes/unicode.php
  80. +33 −0 includes/useragents.php
  81. +276 −0 index.php
  82. +649 −0 init.sql
  83. +274 −0 ip_address.php
  84. +5 −0 javascript/.htaccess
  85. 0 javascript/canvas-drawText.js
  86. +53 −0 javascript/chrome_toolbar.js
  87. +40 −0 javascript/extras.js
  88. +59 −0 javascript/fartscroll.js
  89. +146 −0 javascript/flip.js
  90. +2 −0 javascript/fool.js
  91. +29 −0 javascript/graph/Curry-1.0.1.js
  92. +599 −0 javascript/graph/dracula_algorithms.js
  93. +107 −0 javascript/graph/dracula_graffle.js
  94. +547 −0 javascript/graph/dracula_graph.js
  95. 0 javascript/graph/index.html
  96. +154 −0 javascript/graph/jquery-1.4.2.min.js
  97. +7 −0 javascript/graph/raphael-min.js
  98. +266 −0 javascript/graph/seedrandom.js
  99. +69 −0 javascript/graph/stalk.js
  100. 0 javascript/index.html
  101. +11 −0 javascript/inlineEdit.js
  102. +161 −0 javascript/macro/BlobBuilder.js
  103. +213 −0 javascript/macro/FileSaver.js
  104. +110 −0 javascript/macro/canvas-toBlob.js
  105. +27 −0 javascript/macro/getimagedata.min.js
  106. +244 −0 javascript/macro/macro-main.js
  107. +370 −0 javascript/main.js
  108. +64 −0 javascript/polls.js
  109. +32 −0 javascript/scrollBar.js
  110. +114 −0 javascript/snowflake.js
  111. +59 −0 javascript/textarea.js
  112. +27 −0 javascript/thickbox.js
  113. +67 −0 javascript/watcher.js
  114. +12 −0 lockdown.html
  115. +31 −0 macro/index.php
  116. +1 −0 modgraphs/.htaccess
  117. +80 −0 modgraphs/actions_daily.php
  118. +84 −0 modgraphs/actions_hourly.php
  119. +157 −0 modgraphs/most_all.php
  120. +157 −0 modgraphs/most_all_month.php
  121. +157 −0 modgraphs/most_bans.php
  122. +157 −0 modgraphs/most_deletes.php
  123. +157 −0 modgraphs/most_locks.php
  124. +157 −0 modgraphs/most_stalks.php
  125. +140 −0 modlog.php
  126. +155 −0 movienight/index.html
  127. +176 −0 movienight/index2.html
  128. +166 −0 movienight/jquery-1.4.3.min.js
  129. +1 −0 movienight/jwplayer.js
  130. BIN movienight/player.swf
  131. +189 −0 movienight/splitter.js
  132. +4 −0 movienight/swfobject.js
  133. +34 −0 notepad.php
  134. +94 −0 notifications.php
  135. +9 −0 password.php
  136. +1 −0 paypal/.htaccess
  137. 0 paypal/index.html
  138. +283 −0 paypal/paypal.class.php
  139. +163 −0 paypal/paypal.php
  140. +24 −0 permissions.php
  141. +15 −0 plugins.php
  142. +101 −0 pm.php
  143. +130 −0 pm_compose.php
  144. +26 −0 pm_delete.php
  145. +70 −0 pm_inbox.php
  146. +942 −0 post.php
  147. BIN pqp/.DS_Store
  148. +101 −0 pqp/README.txt
  149. +90 −0 pqp/classes/Console.php
  150. +115 −0 pqp/classes/MySqlDatabase.php
  151. +204 −0 pqp/classes/PhpQuickProfiler.php
  152. +406 −0 pqp/css/pQp.css
  153. +350 −0 pqp/display.php
  154. BIN pqp/images/overlay.gif
  155. BIN pqp/images/side.png
  156. +178 −0 pqp/index.php
  157. +271 −0 pqp/pqp.tpl
  158. +369 −0 profile.php
  159. +28 −0 purge_images.php
  160. +58 −0 recover_id_by_email.php
  161. +45 −0 replies.php
  162. +78 −0 report.php
  163. +139 −0 reports.php
  164. BIN requestform.pdf
  165. +123 −0 restore_id.php
  166. +190 −0 rewrite.conf
  167. +9 −0 robots.txt
  168. +182 −0 search.php
  169. +330 −0 search2.php
  170. +12 −0 searches.php
  171. +4 −0 session.php
  172. +66 −0 shorturl/create.php
  173. +29 −0 shorturl/redirect.php
  174. +61 −0 show_report.php
  175. +9 −0 shuffle.php
  176. +115 −0 stalk.php
  177. +9 −0 statistics.php
  178. +126 −0 stuff.php
  179. +5 −0 style/.htaccess
  180. +236 −0 style/april.css
  181. BIN style/bieber.ttf
  182. +390 −0 style/black.css
  183. +378 −0 style/blue.css
  184. +409 −0 style/brown.css
  185. +263 −0 style/datepicker/css/datepicker.css
  186. +1,445 −0 style/datepicker/js/datepicker.js
  187. +40 −0 style/datepicker/js/lang/af.js
  188. +50 −0 style/datepicker/js/lang/ar.js
  189. +40 −0 style/datepicker/js/lang/de.js
  190. +40 −0 style/datepicker/js/lang/du.js
  191. +42 −0 style/datepicker/js/lang/en.js
  192. +41 −0 style/datepicker/js/lang/es.js
  193. +40 −0 style/datepicker/js/lang/fi.js
  194. +44 −0 style/datepicker/js/lang/fr.js
  195. +40 −0 style/datepicker/js/lang/gr.js
  196. +49 −0 style/datepicker/js/lang/he.js
  197. +13 −0 style/datepicker/js/lang/it.js
  198. +40 −0 style/datepicker/js/lang/nl.js
  199. +40 −0 style/datepicker/js/lang/no.js
  200. +50 −0 style/datepicker/js/lang/pt.js
  201. +40 −0 style/datepicker/js/lang/ro.js
  202. +40 −0 style/datepicker/js/lang/ru.js
  203. +40 −0 style/datepicker/js/lang/sp.js
  204. +41 −0 style/datepicker/js/lang/sv.js
  205. +40 −0 style/datepicker/js/lang/ua.js
  206. BIN style/datepicker/media/backstripes.gif
  207. BIN style/datepicker/media/bg_header.jpg
  208. BIN style/datepicker/media/bullet1.gif
  209. BIN style/datepicker/media/bullet2.gif
  210. BIN style/datepicker/media/cal.gif
  211. BIN style/datepicker/media/gradient-e5e5e5-ffffff.gif
  212. BIN style/deleted.png
  213. BIN style/fade.png
  214. +382 −0 style/green.css
  215. +281 −0 style/lime.css
  216. BIN style/minitwitter/gradient-hover.gif
  217. BIN style/minitwitter/gradient.gif
  218. BIN style/minitwitter/logo.png
  219. +933 −0 style/minitwitter/minitwitter.css
  220. BIN style/minitwitter/tabs-round-back.gif
  221. +281 −0 style/mint.css
  222. +343 −0 style/mobile.css
  223. +281 −0 style/mono.css
  224. +534 −0 style/mylittlepony/mylittlepony.css
  225. +295 −0 style/paisley/paisley.css
  226. BIN style/paisley/paisley_bg.jpg
  227. BIN style/paisley/paisley_fg.jpg
  228. +355 −0 style/pallet.css
  229. +238 −0 style/pink-old.css
  230. +350 −0 style/pink.css
  231. +291 −0 style/purple-old.css
  232. +370 −0 style/purple.css
  233. +281 −0 style/sand.css
  234. +378 −0 style/sim.css
  235. BIN style/star.png
  236. +435 −0 style/test.css
  237. +143 −0 style/thickbox.css
  238. +282 −0 style/turquoise.css
  239. +375 −0 style/violet.css
  240. +351 −0 style/viridian.css
  241. +259 −0 style/yotsuba.css
  242. +37 −0 tag.php
  243. +505 −0 tar.php
  244. +621 −0 test/ChromePhp.php
  245. +10 −0 test/example.php
  246. +3 −0 test_ban.php
  247. 0 thumbs/.keep
  248. +745 −0 topic.php
  249. +69 −0 topic_trivia.php
  250. +12 −0 trash_can.php
  251. +8 −0 unlock.php
  252. +17 −0 url_handler.php
  253. +113 −0 watch.php
  254. +48 −0 watchlist.php
@@ -0,0 +1,4 @@
img
thumbs
includes/config.php
minecraft/
311 .htaccess

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,29 @@
<?php
if($_GET['secret'] != IP_INFO_SECRET) die("Unauthorized.");
chdir("..");
require('includes/config.php');
require('includes/database.class.php');
$link = new db($db_info['server'], $db_info['username'], $db_info['password'], $db_info['database']);
$queries[] = "SELECT COUNT(*) as Occurances, concat(trim(namefag), tripfag) as Name FROM replies WHERE author_ip = %1 GROUP BY Name";
$queries[] = "SELECT COUNT(*) as Occurances, concat(trim(r.namefag), r.tripfag) as Name FROM replies AS r, users AS u WHERE r.author = u.uid AND (u.last_ip = %1 OR u.ip_address = %1) GROUP BY Name";
$queries[] = "SELECT COUNT(*) as Occurances, concat(trim(namefag), tripfag) as Name FROM topics WHERE author_ip = %1 GROUP BY Name";
$queries[] = "SELECT COUNT(*) as Occurances, concat(trim(t.namefag), t.tripfag) as Name FROM topics AS t, users AS u WHERE t.author = u.uid AND (u.last_ip = %1 OR u.ip_address = %1) GROUP BY Name";
$names = array();
$result = array();
foreach($queries as $query) {
$link->db_exec($query, $_GET['ip']);
while(list($count, $name) = $link->fetch_row()) {
if(!trim($name)) $name = "Anonymous";
$names[$name] += $count;
}
}
asort($names);
$names = array_reverse($names);
$names = array_slice($names, 0, 3);
$result['names'] = $names;
echo json_encode($result);
@@ -0,0 +1,9 @@
![](http://i.imgur.com/8SZWa2h.gif)
#Installation
* Make a MySQL database and import init.sql.
* Copy `includes/config.example.php` to `includes/config.php` and get editing.
#"Support"
If you have any questions you can try your luck on the issue tracker or `##minichan @ irc.freenode.net`. Note that development is primarily geared towards running a functional [http://minichan.org](http://minichan.org) so your feature requests may not be a priority. Pull requests are welcome if they are discussed on the issue tracker first.
Oops, something went wrong.

0 comments on commit 6618a04

Please sign in to comment.