Browse Source

Restructure and deletion of unneeded php code

Nathaniel van Diepen 11 years ago
parent
commit
e65e7a0531
68 changed files with 0 additions and 1109 deletions
  1. 0 65
      omnomirc_www/Channels.php
  2. 0 132
      omnomirc_www/Load.php
  3. 0 0
      omnomirc_www/Login.php
  4. 0 7
      omnomirc_www/Source/cachefix.php
  5. 0 31
      omnomirc_www/Source/sign.php
  6. 0 27
      omnomirc_www/Source/sql.php
  7. 0 50
      omnomirc_www/Source/userlist.php
  8. 0 110
      omnomirc_www/Update.php
  9. 0 12
      omnomirc_www/dbinfo.sql
  10. 0 179
      omnomirc_www/index.php
  11. 0 150
      omnomirc_www/install.php
  12. 0 146
      omnomirc_www/message.php
  13. 0 120
      omnomirc_www/omnomirc_clean.sql
  14. 0 5
      omnomirc_www/sign.php
  15. 0 3
      omnomirc_www/test.php
  16. 0 72
      omnomirc_www/textmode.php
  17. 0 0
      shims/smf/checkLogin.php
  18. 0 0
      www/COPYING
  19. 0 0
      www/Options.html
  20. 0 0
      www/beep.wav
  21. 0 0
      www/css/style.css
  22. 0 0
      www/doc/Administrative Options.txt
  23. 0 0
      www/doc/Features to be added.txt
  24. 0 0
      www/doc/Login system layout.txt
  25. 0 0
      www/img/error.png
  26. 0 0
      www/img/omni.png
  27. 0 0
      www/img/smileys/XD.gif
  28. 0 0
      www/img/smileys/X_X.gif
  29. 0 0
      www/img/smileys/alien2.gif
  30. 0 0
      www/img/smileys/ange.gif
  31. 0 0
      www/img/smileys/angry.gif
  32. 0 0
      www/img/smileys/azn.gif
  33. 0 0
      www/img/smileys/banghead.gif
  34. 0 0
      www/img/smileys/bigfrown.gif
  35. 0 0
      www/img/smileys/blah.gif
  36. 0 0
      www/img/smileys/cheesy.gif
  37. 0 0
      www/img/smileys/cool.gif
  38. 0 0
      www/img/smileys/cry.gif
  39. 0 0
      www/img/smileys/devil.gif
  40. 0 0
      www/img/smileys/dry.gif
  41. 0 0
      www/img/smileys/embarrassed.gif
  42. 0 0
      www/img/smileys/evil.gif
  43. 0 0
      www/img/smileys/evillaugh.gif
  44. 0 0
      www/img/smileys/fou.gif
  45. 0 0
      www/img/smileys/grin.gif
  46. 0 0
      www/img/smileys/happy0075.gif
  47. 0 0
      www/img/smileys/huh.gif
  48. 0 0
      www/img/smileys/kiss.gif
  49. 0 0
      www/img/smileys/lipsrsealed.gif
  50. 0 0
      www/img/smileys/love.gif
  51. 0 0
      www/img/smileys/mad.gif
  52. 0 0
      www/img/smileys/ninja.gif
  53. 0 0
      www/img/smileys/psychedelicO_O.gif
  54. 0 0
      www/img/smileys/rolleyes.gif
  55. 0 0
      www/img/smileys/sad.gif
  56. 0 0
      www/img/smileys/shocked.gif
  57. 0 0
      www/img/smileys/shocked2.gif
  58. 0 0
      www/img/smileys/smiley.gif
  59. 0 0
      www/img/smileys/smiley_grey.png
  60. 0 0
      www/img/smileys/smiley_woot.gif
  61. 0 0
      www/img/smileys/thumbsupsmiley.gif
  62. 0 0
      www/img/smileys/tongue.gif
  63. 0 0
      www/img/smileys/undecided.gif
  64. 0 0
      www/img/smileys/wink.gif
  65. 0 0
      www/js/btoa.js
  66. 0 0
      www/js/omnomirc.js
  67. 0 0
      www/js/omnomirc.old.js
  68. 0 0
      www/master

+ 0 - 65
omnomirc_www/Channels.php

@@ -1,65 +0,0 @@
-<?PHP	
-/*
-    OmnomIRC COPYRIGHT 2010,2011 Netham45
-
-    This file is part of OmnomIRC.
-
-    OmnomIRC is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OmnomIRC is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OmnomIRC.  If not, see <http://www.gnu.org/licenses/>.
-*/
-	include("Source/sign.php");
-	//Set the channels here.
-	//$channels[]=Array("#channel",AlwaysShow);
-	$channels=Array();
-	$channels[]=Array("#main",true);//Default chan, 'cause it's the first in the array.
-	$exChans=Array();
-	$exChans[]=Array("#main2",false);
-?>
-<?PHP
-	
-	if (!isset($IRCBOT))
-	{
-		//Output for Javascript.
-		header('Content-type: text/javascript');
-		$chanStr = "";
-		foreach ($channels as $chan)
-			if ($chan[1])$chanStr = $chanStr . '"'.base64_url_encode($chan[0]).'",';
-		$chanStr = substr($chanStr,0,-1);
-		
-		echo "var channels=[";
-		echo $chanStr;
-		echo "];";
-		
-		$exChanStr = "";
-		foreach ($channels as $chan)
-			if (!$chan[1])$exChanStr = $exChanStr . '"'.base64_url_encode($chan[0]).'",';
-		$exChanStr = substr($exChanStr,0,-1);
-		
-		echo "var exChannels=[";
-		echo $exChanStr;
-		echo "];";
-	}
-	else
-	{
-		//Output for PHP
-		$chanStr = "";
-		foreach ($exChans as $chan)
-			$channels[] = $chan;
-		foreach ($channels as $chan)
-			$chanStr = $chanStr .$chan[0].',';
-		
-		$chanStr = substr($chanStr,0,-1);
-	}
-?>
-
-

+ 0 - 132
omnomirc_www/Load.php

@@ -1,132 +0,0 @@
-<?PHP
-/*
-    OmnomIRC COPYRIGHT 2010,2011 Netham45
-
-    This file is part of OmnomIRC.
-
-    OmnomIRC is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OmnomIRC is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OmnomIRC.  If not, see <http://www.gnu.org/licenses/>.
-*/
-	#error_reporting(E_ALL);
-	#ini_set('display_errors', '1');
-	include("Source/cachefix.php"); //This must be the first line in every file.
-	header('Content-type: text/javascript');
-	include("Source/sql.php");
-	include("Source/sign.php");
-	include("Source/userlist.php");
-	ob_start();
-	
-	$count = $_GET['count'];
-	$channel = "#omnimaga";
-	if (isset($_GET['channel']))
-		$channel = base64_url_decode($_GET['channel']);
-	$nick = "0";
-	if (isset($_GET['nick']))
-	{
-		$nick = base64_url_decode($_GET['nick']);
-		$signature = base64_url_decode($_GET['signature']);
-		if ($signature != base64_url_encode(sign($nick)))
-			$nick = "0";
-	}
-	
-	if ($channel[0] == "*") //PM
-	{
-		$sender = substr($channel,1);
-		$channel = $nick;
-		$res = sql_query("SELECT x.* FROM (
-													SELECT * FROM `irc_lines` 
-													WHERE 
-													(`channel` = '%s'
-													AND `name1` = '%s')
-													OR
-													(`channel` = '%s'
-													AND `name1` = '%s')
-													ORDER BY `line_number` DESC 
-													LIMIT %s
-												) AS x
-												ORDER BY `line_number` ASC",$channel,$sender,$sender,$channel,$count + 0);
-	}
-	else
-	{
-		$res = sql_query("SELECT x.* FROM (
-													SELECT * FROM `irc_lines` 
-													WHERE `channel` = '%s' OR `channel` = '%s'
-													ORDER BY `line_number` DESC 
-													LIMIT %s
-												) AS x
-												ORDER BY `line_number` ASC",$channel,$nick,$count + 0);
-	}
-	echo "void('$nick');";
-	while ($result = mysql_fetch_array($res))
-	{
-		//Sorunome edit START
-		$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		$ignorelist = "";
-		if ($userSql["name"]!=NULL) {
-			$ignorelist = $userSql["ignores"];
-		}
-		//Sorunome edit END
-		if (strpos($userSql["ignores"],strtolower($result["name1"])."\n")===false) { //Sorunome edit
-			echo "addLine('";
-			switch (strtolower($result['type']))
-			{
-				case "pm":
-				case "message":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result['message'])) . ':' . base64_url_encode(htmlspecialchars("0"));break;
-				case "action":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result['message'])) . ':' . base64_url_encode(htmlspecialchars("0"));break;
-				case "join":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1']));break;
-				case "part":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-				case "kick":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["name2"])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-				case "quit":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-				case "mode":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-				case "nick":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["name2"]));break;
-				case "server":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-				case "topic":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-			}
-			echo "');";
-		} //Sorunome edit
-	}
-	
-	$curMax = mysql_fetch_array(sql_query("SELECT MAX(`line_number`) FROM `irc_lines`"));
-	echo "addLine('" . $curMax[0] . ":curline');";
-	//Sorunome edit START
-	$curtopic = mysql_fetch_array(sql_query("SELECT * FROM `irc_topics` WHERE `chan`='%s'",strtolower($channel)));
-	echo "addLine('" . $curMax[0] . ":topic:0:" . time() . "::" . base64_url_encode($curtopic["topic"]) . "');";
-	//Sorunome edit END
-	$users = Array();
-	
-	$result = sql_query("SELECT * FROM `irc_users` WHERE `channel`='%s'",$channel);
-	while ($user = mysql_fetch_array($result))
-	{
-		$users[count($users)][0] = strtolower($user['username']);
-		$users[count($users) - 1][1] = $user['username'];
-		$users[count($users) - 1][2] = $user['online'];
-		$users[count($users) - 1][3] = $user['channel'];
-	}
-	
-	asort($users);
-	foreach ($users as $user)
-	{
-		echo "addUser('" . base64_url_encode(htmlspecialchars($user[1])) . ":" . $user[2] . "');";
-	}
-	ob_end_flush();
-?>

+ 0 - 0
omnomirc_www/Login.php


+ 0 - 7
omnomirc_www/Source/cachefix.php

@@ -1,7 +0,0 @@
-<?PHP
-	header("Last-Modified: Thu, 01-Jan-1970 00:00:01 GMT");
-	header("Cache-Control: no-store, no-cache, must-revalidate");
-	header("Cache-Control: post-check=0, pre-check=0", false);
-	header("Pragma: no-cache");
-	date_default_timezone_set("America/Denver"); //Leave me the fuck alone.
-?>

+ 0 - 31
omnomirc_www/Source/sign.php

@@ -1,31 +0,0 @@
-<?PHP
-
-	include_once("config.php");
-	
-	function sign($name)
-	{
-		global $signature_key;
-		return mcrypt_encrypt ( MCRYPT_RIJNDAEL_256 , $signature_key , $name , MCRYPT_MODE_ECB); //Okay, okay, this isn't a signature, it's a cypher. 
-	}																				   //It still gives the same result every time, and I can use it with a key.
-	
-	function checkSignature($name,$signature,$deBase64=false)
-	{
-		if ($deBase64)
-		{
-			$name = base64_url_decode($name);
-			$signature = base64_url_decode($signature);
-		}
-		return $signature == base64_url_encode(sign($name));
-	}
-	
-	function base64_url_encode($input)
-	{
-		return strtr(base64_encode($input), '+/=', '-_,');
-	}
-
-	function base64_url_decode($input)
-	{
-		return base64_decode(strtr($input, '-_,', '+/=')); 
-	}
-	
-?>

+ 0 - 27
omnomirc_www/Source/sql.php

@@ -1,27 +0,0 @@
-<?PHP
-	include_once("config.php");
-	function connectSQL()
-	{
-		global $sql_user,$sql_password,$sql_server,$sql_db;
-		$sqlConnection = mysql_pconnect($sql_server,$sql_user,$sql_password); //This is a connection to a local SQL server.
-		if (!$sqlConnection) 
-			die("Could not connect to SQL DB: " . mysql_error());
-		if (!mysql_select_db($sql_db,$sqlConnection))
-			die('Could not select DB: ' . mysql_error());
-		return $sqlConnection;
-	}
-	
-	function sql_query(/*format,...*/)
-	{
-		$sqlConnection = connectSQL();
-		$params = func_get_args();
-		$query = $params[0];
-		$args = Array();
-		for ($i=1;$i<count($params);$i++)
-			$args[$i-1] = mysql_real_escape_string($params[$i],$sqlConnection);
-		$result = mysql_query(vsprintf($query,$args),$sqlConnection);
-		if (!$result) 
-			die(mysql_error() . "Query: " . vsprintf($query,$args));
-		return $result;
-	}
-?>

+ 0 - 50
omnomirc_www/Source/userlist.php

@@ -1,50 +0,0 @@
-<?PHP
-	include_once("Source/cachefix.php");
-	include_once("Source/sql.php");
-	
-	function UpdateUser($nick,$channel)
-	{
-		if($channel[0]=="*")
-			return; //PMs have no userlist.
-		$result = sql_query("SELECT * FROM `irc_users` WHERE `username` = '%s' AND `channel` = '%s' AND `online` = 1",$nick,$channel);
-		if (mysql_num_rows($result))//Update
-		{
-			sql_query("UPDATE `irc_users` SET `time`='%s' WHERE `username` = '%s' AND `channel` = '%s' AND `online` = 1",time(),$nick,$channel);
-			$row = mysql_fetch_array($result);
-			if ($row['time'] < strtotime('-1 minute')) //First time they joined in a minute.
-				notifyJoin($nick,$channel);
-		}
-		else //Insert
-		{
-			sql_query("INSERT INTO `irc_users` (`username`,`channel`,`time`,`online`) VALUES('%s','%s','%s',1)",$nick,$channel,time());
-			notifyJoin($nick,$channel);
-		}
-	}
-	
-	function getOnlineUsers($channel)
-	{
-		$userlist = Array();
-		if ($channel[0]=="*")
-			return $userlist; //PMs have no userlist.
-		$result = sql_query("SELECT * FROM `irc_users` WHERE `channel` = '%s' AND `time` > %s AND `online` = 1",$channel,strtotime('-1 minute')); //Get all users in the last minute(update.php timeout is 30 seconds).
-		while($row = mysql_fetch_array($result))
-			$userlist[] = $row['username'];
-		return $userlist;
-	}
-	
-	function notifyJoin($nick,$channel)
-	{
-		sql_query("INSERT INTO `irc_lines` (name1,type,channel,time,online) VALUES('%s','join','%s','%s',1)",$nick,$channel,time());
-	}
-	function notifyPart($nick,$channel)
-	{
-		sql_query("INSERT INTO `irc_lines` (name1,type,channel,time,online) VALUES('%s','part','%s','%s',1)",$nick,$channel,time());
-	}
-	function CleanOfflineUsers()
-	{
-		$result = sql_query("SELECT * FROM `irc_users` WHERE `time` < %s",strtotime('-1 minute'));
-		sql_query("DELETE FROM `irc_users` WHERE `time` < %s",strtotime('-1 minute'));
-		while ($row = mysql_fetch_array($result))
-			notifyPart($row['username'],$row['channel']);
-	}
-?>

+ 0 - 110
omnomirc_www/Update.php

@@ -1,110 +0,0 @@
-<?PHP
-/*
-    OmnomIRC COPYRIGHT 2010,2011 Netham45
-
-    This file is part of OmnomIRC.
-
-    OmnomIRC is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OmnomIRC is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OmnomIRC.  If not, see <http://www.gnu.org/licenses/>.
-*/
-	include("Source/cachefix.php"); //This must be the first line in every file.
-	include("Source/sql.php");
-	include("Source/sign.php");
-	include("Source/userlist.php");
-	
-	$curLine = $_GET['lineNum'];
-	$channel = "#omnimaga";
-	if (isset($_GET['channel']))
-		$channel = base64_url_decode($_GET['channel']);
-	$nick = "0";
-	if (isset($_GET['nick']))
-	{
-		$nick = base64_url_decode($_GET['nick']);
-		$signature = base64_url_decode($_GET['signature']);
-		if (!checkSignature($nick,$signature))
-			$nick = "0";
-	}
-	$pm = false;
-	if ($channel[0] == "*") //PM
-	{
-		$sender = substr($channel,1);
-		$channel = $nick;
-		$pm = true;
-	}
-	$countBeforeQuit = 0;
-	while (true)
-	{
-		if ($countBeforeQuit++ == 50)//Timeout after 25 seconds.
-			die();
-		if ($nick != "0")
-			UpdateUser($nick,$channel);
-		CleanOfflineUsers(); //This gets called often enough. We can't have have constant presence in the matrix without a helper app, this is the closest we'll get.
-		$query = sql_query("SELECT * FROM `irc_lines` WHERE `line_number` > %s AND (`channel` = '%s' OR `channel` = '%s' OR (`channel` = '%s' AND `name1` = '%s'))",$curLine + 0,$channel,$nick,$pm?$sender:"0", $nick);
-		$result = mysql_fetch_array($query);
-		//Sorunome edit START
-		$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		$ignorelist = "";
-		if ($userSql["name"]!=NULL) {
-			$ignorelist = $userSql["ignores"];
-		}
-		//Sorunome edit END
-		if (!isset($result[0]))
-		{
-			$result = mysql_fetch_array(sql_query("SELECT * FROM `irc_lines` WHERE `line_number` > %s AND locate('%s',`message`) != 0 AND NOT ((`type` = 'pm' AND `name1` <> '%s') OR (`type` = 'server'))",$curLine + 0,substr($nick,0,4), $nick));
-			if (!isset($result[0])) {usleep(500000); continue;}
-			if (strpos($userSql["ignores"],strtolower($result["name1"])."\n")===false) { //Sorunome edit
-				echo $result['line_number'] . ":highlight:0:0:". base64_url_encode($result['channel']) . "::" . base64_url_encode($result['name1']) . ":" . base64_url_encode($result['message']);
-			} else { //Sorunome edit START
-				echo $result['line_number'].":curline:0:0:";
-			} //Sorunome edit END
-			die; //That's it, folks!
-		}
-		do {
-			if (!isset($result['time'])) $result['time'] = time();
-			if (strpos($userSql["ignores"],strtolower($result["name1"])."\n")===false) { //sorunome edit
-				switch (strtolower($result['type']))
-				{
-					case "pm":
-					case "message":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result['message'])) . ':' . base64_url_encode(htmlspecialchars("0"));break;
-					case "action":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result['message'])) . ':' . base64_url_encode(htmlspecialchars("0"));break;
-					case "join":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1']));break;
-					case "part":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-					case "kick":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["name2"])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-					case "quit":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-					case "mode":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-					case "nick":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["name2"]));break;
-					case "topic":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-					case "reload":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . "::";break;
-					case "server":
-						echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-					case "topic":
-					echo $result['line_number'] . ":" . $result['type'] . ":" . $result['Online'] . ":" . $result['time'] . ":" . base64_url_encode(htmlspecialchars($result['name1'])) . ":" . base64_url_encode(htmlspecialchars($result["message"]));break;
-				}
-				echo "\n";
-			} else { //Sorunome edit START
-				echo $result['line_number'].":curline:0:0:";
-			} //Sorunome edit END
-		} while ($result = mysql_fetch_array($query));
-		break;
-	}
-?>

+ 0 - 12
omnomirc_www/dbinfo.sql

@@ -1,12 +0,0 @@
-DROP TABLE IF EXISTS `irc_users`;
-CREATE TABLE `irc_users` (  `usernum` int(11) NOT NULL AUTO_INCREMENT,  `username` varchar(45) NOT NULL,  `channel` varchar(45) NOT NULL,  `online` int(50) NOT NULL DEFAULT '0', `time` varchar(45) NOT NULL, PRIMARY KEY (`usernum`)) ENGINE=InnoDB AUTO_INCREMENT=210612849 DEFAULT CHARSET=utf8;
-DROP TABLE IF EXISTS `irc_permissions`;
-CREATE TABLE `irc_permissions` (  `generic_autoincrementing_prikey` int(11) NOT NULL AUTO_INCREMENT,  `username` varchar(120) DEFAULT NULL,  `channel` varchar(120) NOT NULL,  `modes` varchar(120) NOT NULL,  `isChanModes` tinyint(1) NOT NULL DEFAULT '0',  PRIMARY KEY (`generic_autoincrementing_prikey`)) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-DROP TABLE IF EXISTS `irc_outgoing_messages`;
-CREATE TABLE `irc_outgoing_messages` (  `prikey` int(11) NOT NULL AUTO_INCREMENT,  `message` varchar(1024) NOT NULL,  `nick` varchar(45) NOT NULL,  `channel` varchar(45) NOT NULL,  `action` tinyint(1) NOT NULL DEFAULT '0',  PRIMARY KEY (`prikey`)) ENGINE=InnoDB AUTO_INCREMENT=6069 DEFAULT CHARSET=utf8;
-DROP TABLE IF EXISTS `irc_lines`;
-CREATE TABLE `irc_lines` (`line_number` int(10) unsigned NOT NULL AUTO_INCREMENT,  `name1` varchar(45) NOT NULL,  `name2` varchar(45) DEFAULT NULL,  `message` varchar(1024) DEFAULT NULL,  `type` varchar(45) NOT NULL,  `channel` varchar(45) NOT NULL,  `time` varchar(45) NOT NULL,  `Online` tinyint(1) NOT NULL DEFAULT '0',  PRIMARY KEY (`line_number`)) ENGINE=InnoDB AUTO_INCREMENT=126652 DEFAULT CHARSET=utf8;
-DROP TABLE IF EXISTS `irc_ignorelist`;
-CREATE TABLE `irc_ignorelist` (  `usernum` int(11) NOT NULL AUTO_INCREMENT,  `name` varchar(45) NOT NULL,  `ignores` varchar(1024) NOT NULL,  PRIMARY KEY (`usernum`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-DROP TABLE IF EXISTS `irc_topics`;
-CREATE TABLE `irc_topics` (  `channum` int(11) NOT NULL AUTO_INCREMENT,  `chan` varchar(45) NOT NULL,  `topic` varchar(1024) NOT NULL,  PRIMARY KEY (`channum`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

+ 0 - 179
omnomirc_www/index.php

@@ -1,179 +0,0 @@
-<?php
-if(strpos($_SERVER['HTTP_USER_AGENT'],"textmode;")===false){?>
-<!--
-/*
-    OmnomIRC COPYRIGHT 2010,2011 Netham45
-
-    This file is part of OmnomIRC.
-
-    OmnomIRC is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OmnomIRC is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OmnomIRC.  If not, see <http://www.gnu.org/licenses/>.
-*/
-!-->
-<html>
-	<head>
-		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-		<title>OmnomIRC V2</title>
-		<link rel="stylesheet" type="text/css" href="style.css" />
-		<script src="config.js"></script>
-		<script src="btoa.js"></script>
-		<script type="text/javascript">
-			document.domain=HOSTNAME;
-			function AJAXSend() {
-				Message = document.getElementById("message").value;
-				sendAJAXMessage(userName,Signature,Message,"#Omnimaga");
-				oldMessages.push(Message);
-				document.getElementById("message").value = "";
-				document.getElementById("message").focus();
-				if (oldMessages.length>20)
-					oldMessages.shift();
-				messageCounter = oldMessages.length;
-				setCookie("oldMessages-"+getChannelEn(),oldMessages.join("\n"),30);
-			}
-			
-			function resize(){
-				var offset = 42;
-				if ("\v" != "v"){
-					winbg2=document.getElementById("windowbg2");
-					msg = document.getElementById("message");
-					send = document.getElementById("send");
-					newHeight = window.innerHeight - (msg.clientHeight + 14) + "px";
-					winbg2.style.height = newHeight;
-
-					messageBox.style.height = winbg2.clientHeight - offset + "px";
-					mBoxCont.style.height = winbg2.clientHeight - offset + "px";
-					mBoxCont.scrollTop = mBoxCont.scrollHeight;
-					msg.style.width = mBoxCont.clientWidth - send.clientWidth - "39" + "px";
-					msg.style.left = "0px";
-				}else{
-					page = document.getElementsByTagName("html")[0];
-					winbg2=document.getElementById("windowbg2");
-					msg = document.getElementById("message");
-					send = document.getElementById("send");
-					winbg2.style.height = page.clientHeight - msg.clientHeight - offset + "px";
-					messageBox.style.height = winbg2.clientHeight - offset + "px";
-					mBoxCont.style.height = winbg2.clientHeight - offset + "px";
-					mBoxCont.scrollTop = mBoxCont.scrollHeight;
-					msg.style.width = mBoxCont.clientWidth - send.clientWidth - "39" + "px";
-					msg.style.left = "0px";
-				}
-			}
-			window.onresize = resize;
-		</script>
-	</head>
-	<body style="overflow:hidden;margin:0px;padding:0px;*height:100%">
-		<div class="windowbg2" id="windowbg2" style="width:100%;height:100%;overflow:hidden;">
-		<div id="Channels" style="width:90%;overflow:hidden;position:absolute;overflow-x:hidden;overflow-y:hidden;">
-		<div id="ChanListButtons" style="width:98%;overflow:hidden;display:inline;position:relative;left:0px;top:4px;">
-			<span style="font-size:10pt;" class="arrowButton" onmousedown="menul=setInterval('document.getElementById(\'ChanListCont\').scrollLeft -= 9',50)" onmouseup="clearInterval(menul)" onmouseout="clearInterval(menul)">&#9668;</span>
-			<span style="font-size:10pt;" class="arrowButton" onmousedown="menur=setInterval('document.getElementById(\'ChanListCont\').scrollLeft += 9',50)" onmouseup="clearInterval(menur)" onmouseout="clearInterval(menur)">&#9658;</span>
-		</div>
-
-		<div id="ChanListCont" style="width:96%;overflow-x:hidden;display:block;position:relative;left:23px;top:-16px;">
-			<div id="ChanList" style="width:500%"></div>
-		</div>
-		</div>
-		<div id="topicbox" style="width:90%;overflow:hidden;position:absolute;overflow-x:hidden;overflow-y:hidden;left:0px;top:26px;margin:0;padding:0;">
-			<div id="TopicButtons" style="width:98%;overflow:hidden;display:inline;position:relative;left:0px;top:-2px;margin:0;padding:0;">
-				<span style="font-size:8pt;" class="arrowButton" onmousedown="menul=setInterval('document.getElementById(\'topicCont\').scrollLeft -= 9',50)" onmouseup="clearInterval(menul)" onmouseout="clearInterval(menul)">&#9668;</span>
-				<span style="font-size:8pt;" class="arrowButton" onmousedown="menur=setInterval('document.getElementById(\'topicCont\').scrollLeft += 9',50)" onmouseup="clearInterval(menur)" onmouseout="clearInterval(menur)">&#9658;</span>
-			</div>
-			<div id="topicCont" style="width:96%;overflow-x:hidden;display:block;position:relative;left:23px;top:-16px;margin:0;padding:0;">
-				<div id="topic" style="white-space:nowrap;"></div>
-			</div>
-		</div>
-		<br/>
-		<br/>
-		<br/>
-		<div id="mboxCont" style="width:90%;height:100%;overflow:hidden;position:relative;overflow-x:hidden;overflow-y:hidden;"></div>
-			<span class="arrowButtonHoriz3"><div style="font-size:12pt;width:12%;height:9pt;top:0;left:90%;position:absolute;font-weight:bolder;margin-top:10pt;margin-left:-10pt;" class="arrowButtonHoriz2">&#9650;</div>
-			<div style="font-size:12pt;width:12%;height:9pt;top:0;left:90%;position:absolute;margin-top:10pt;margin-left:-10pt;" onmousedown="downIntM = setInterval('document.getElementById(\'mboxCont\').scrollTop -= 9;scrolledDown=false;',50);" onmouseout="clearInterval(downIntM);" onmouseup="clearInterval(downIntM);"></div></span>
-			<span class="arrowButtonHoriz3"><div style="font-size:12pt;width:12%;height:9pt;top:100%;left:90%;position:absolute;margin-top:-10pt;margin-left:-10pt;font-weight:bolder;" class="arrowButtonHoriz2">&#9660;</div>
-			<div style="font-size:12pt;width:12%;height:9pt;top:100%;left:90%;position:absolute;margin-top:-10pt;margin-left:-10pt;" onmousedown="upIntM = setInterval('document.getElementById(\'mboxCont\').scrollTop += 9;if (mBoxCont.scrollTop+mBoxCont.clientHeight==mBoxCont.scrollHeight)scrolledDown=true;',50);" onmouseout="clearInterval(upIntM);" onmouseup="clearInterval(upIntM);"></div></span>
-
-		<div id="UserListContainer" style="width:10%;height:98%;left:90%;top:0;position:absolute;color:#222;border-style:dashed;border-width:1px;border-right-color:#000;overflow:hidden;">
-			<span style="left:10%;position:relative;font-size:6pt;"><!--<a href="http://omnom.omnimaga.org/irc/efnet/?channel=omnimaga#bottom" target="_TOP">Logs</a><br/>--><a href="http://www.omnimaga.org/OmnomIRC_Full.html" target="_TOP">Full View</a><br/><a id="toggle" href="#" onclick="toggleEnable();">Toggle</a><br/><a href="Options.html" accesskey="o" alt="OmnomIRC Options" title="OmnomIRC Options">Options</a></span>
-			<div id="UserList" style="position:relative;left:10%;height:88%;top:1%;width:120%;font-family:verdana,sans-serif;overflow-x:hidden;overflow-y:scroll;">
-			</div>
-			<span class="arrowButtonHoriz3"><div style="width:12%;height:9pt;top:0pt;left:78%;position:absolute;font-weight:bolder;margin-top:10pt;" class="arrowButtonHoriz2">&#9650;</div>
-			<div style="width:12%;height:9pt;top:0pt;left:78%;position:absolute;margin-top:10pt;" onmousedown="downInt = setInterval('userListDiv.scrollTop -= 9',50);" onmouseout="clearInterval(downInt);" onmouseup="clearInterval(downInt);"></div></span>
-			<span class="arrowButtonHoriz3"><div style="width:12%;height:9pt;top:100%;left:78%;position:absolute;margin-top:-10pt;font-weight:bolder;" class="arrowButtonHoriz2">&#9660;</div>
-			<div style="width:12%;height:9pt;top:100%;left:78%;position:absolute;margin-top:-10pt;" onmousedown="upInt = setInterval('userListDiv.scrollTop += 9',50);" onmouseout="clearInterval(upInt);" onmouseup="clearInterval(upInt);"></div></span>
-			</div>
-		</div>
-		</div><img id="smileyMenuButton" src="smileys/smiley.gif" style="cursor:pointer;margin-left:2px;margin-right:2px;" onclick="if(showSmileys){if(document.getElementById('smileyselect').style.display==''){document.getElementById('smileyselect').style.display='none';this.src='smileys/smiley.gif';}else{document.getElementById('smileyselect').style.display='';this.src='smileys/tongue.gif';}}"><form style="Display:inline;" name="irc" action="javascript:void(0)" onSubmit="AJAXSend()"><input autocomplete="off" accesskey="i" type="text" name="message" id="message" size="128" maxlength="256" alt="OmnomIRC" title="OmnomIRC"/><input type="submit" value="Send" id="send" /></form>
-
-		<div id="smileyselect" style="display:none;">
-			<img src="smileys/smiley.gif" alt="Smiley" title="Smiley" onclick="replaceText(' :)', document.forms.irc.message); return false;">
-			<img src="smileys/wink.gif" alt="Wink" title="Wink" onclick="replaceText(' ;)', document.forms.irc.message); return false;">
-			<img src="smileys/cheesy.gif" alt="Cheesy" title="Cheesy" onclick="replaceText(' :D', document.forms.irc.message); return false;">
-			<img src="smileys/grin.gif" alt="Grin" title="Grin" onclick="replaceText(' ;D', document.forms.irc.message); return false;">
-			<img src="smileys/angry.gif" alt="Angry" title="Angry" onclick="replaceText(' &gt;:(', document.forms.irc.message); return false;">
-			<img src="smileys/sad.gif" alt="Sad" title="Sad" onclick="replaceText(' :(', document.forms.irc.message); return false;">
-			<img src="smileys/shocked.gif" alt="Shocked" title="Shocked" onclick="replaceText(' :o', document.forms.irc.message); return false;">
-			<img src="smileys/cool.gif" alt="Cool" title="Cool" onclick="replaceText(' 8)', document.forms.irc.message); return false;">
-			<img src="smileys/huh.gif" alt="Huh?" title="Huh?" onclick="replaceText(' ???', document.forms.irc.message); return false;">
-			<img src="smileys/rolleyes.gif" alt="Roll Eyes" title="Roll Eyes" onclick="replaceText(' ::)', document.forms.irc.message); return false;">
-			<img src="smileys/tongue.gif" alt="Tongue" title="Tongue" onclick="replaceText(' :P', document.forms.irc.message); return false;">
-			<img src="smileys/embarrassed.gif" alt="Embarrassed" title="Embarrassed" onclick="replaceText(' :-[', document.forms.irc.message); return false;">
-			<img src="smileys/lipsrsealed.gif" alt="Lips Sealed" title="Lips Sealed" onclick="replaceText(' :-X', document.forms.irc.message); return false;">
-			<img src="smileys/undecided.gif" alt="Undecided" title="Undecided" onclick="replaceText(' :-\\', document.forms.irc.message); return false;">
-			<img src="smileys/kiss.gif" alt="Kiss" title="Kiss" onclick="replaceText(' :-*', document.forms.irc.message); return false;">
-			<img src="smileys/cry.gif" alt="Cry" title="Cry" onclick="replaceText(' :\'(', document.forms.irc.message); return false;">
-			<img src="smileys/thumbsupsmiley.gif" alt="Good job" title="Good job" onclick="replaceText(' :thumbsup:', document.forms.irc.message); return false;">
-			<img src="smileys/evil.gif" alt="Evil" title="Evil" onclick="replaceText(' &gt;:D', document.forms.irc.message); return false;">
-			<img src="smileys/shocked2.gif" alt="shocked" title="shocked" onclick="replaceText(' O.O', document.forms.irc.message); return false;">
-			<img src="smileys/azn.gif" alt="Azn" title="Azn" onclick="replaceText(' ^-^', document.forms.irc.message); return false;">
-			<img src="smileys/alien2.gif" alt="Alien" title="Alien" onclick="replaceText(' &gt;B)', document.forms.irc.message); return false;">
-			<img src="smileys/banghead.gif" alt="Frustrated" title="Frustrated" onclick="replaceText(' :banghead:', document.forms.irc.message); return false;">
-			<img src="smileys/ange.gif" alt="Angel" title="Angel" onclick="replaceText(' :angel:', document.forms.irc.message); return false;">
-			<img src="smileys/blah.gif" alt="Blah" title="Blah" onclick="replaceText(' ._.', document.forms.irc.message); return false;">
-			<img src="smileys/devil.gif" alt="Devil" title="Devil" onclick="replaceText(' :devil:', document.forms.irc.message); return false;">
-			<img src="smileys/dry.gif" alt="&lt;_&lt;" title="&lt;_&lt;" onclick="replaceText(' &lt;_&lt;', document.forms.irc.message); return false;">
-			<img src="smileys/evillaugh.gif" alt="Evil Laugh" title="Evil Laugh" onclick="replaceText(' :evillaugh:', document.forms.irc.message); return false;">
-			<img src="smileys/fou.gif" alt="Crazy" title="Crazy" onclick="replaceText(' :crazy:', document.forms.irc.message); return false;">
-			<img src="smileys/happy0075.gif" alt="You just lost the game" title="You just lost the game" onclick="replaceText(' :hyper:', document.forms.irc.message); return false;">
-			<img src="smileys/love.gif" alt="Love" title="Love" onclick="replaceText(' :love:', document.forms.irc.message); return false;">
-			<img src="smileys/mad.gif" alt="Mad" title="Mad" onclick="replaceText(' :mad:', document.forms.irc.message); return false;">
-			<img src="smileys/smiley_woot.gif" alt="w00t" title="w00t" onclick="replaceText(' :w00t:', document.forms.irc.message); return false;">
-			<img src="smileys/psychedelicO_O.gif" alt="I must have had too much radiation for breakfast..." title="I must have had too much radiation for breakfast..." onclick="replaceText(' *.*', document.forms.irc.message); return false;">
-			<img src="smileys/bigfrown.gif" alt="Big frown" title="Big frown" onclick="replaceText(' D:', document.forms.irc.message); return false;">
-			<img src="smileys/XD.gif" alt="Big smile" title="Big smile" onclick="replaceText(' XD', document.forms.irc.message); return false;">
-			<img src="smileys/X_X.gif" alt="x.x" title="x.x" onclick="replaceText(' x.x', document.forms.irc.message); return false;">
-			<img src="smileys/ninja.gif" alt="Get Ninja'd" title="Get Ninja'd" onclick="replaceText(' :ninja:', document.forms.irc.message); return false;">
-		</div>
-		<div id="indicator" style="position:absolute;z-index:10;margin:0;padding:0;top:0;right:0;"></div>
-
-		<script src="Omnom_Options.js"></script>
-		<script src="Omnom_Parser.js"></script>
-		<script src="Omnom_Tab.js"></script>
-		<script src="Omnom_Misc.js"></script>
-
-		<script type="text/javascript">
-			startIndicator();
-			function signCallback(sig,nick) {
-				Signature = sig;
-				userName = nick;
-				load();
-			}
-			resize();
-		</script>
-		<script src="http://www.omnimaga.org/checkLogin.php"></script>
-		<audio id="ding" src="beep.wav" hidden></audio>
-	</body>
-</html>
-<?php
-}else{
-	header('Location: http://www.omnimaga.org/checkLogin.php?textmode');
-}
-?>

+ 0 - 150
omnomirc_www/install.php

@@ -1,150 +0,0 @@
-<?PHP
-
-	error_reporting(E_ALL);
-	ini_set('display_errors', '1');
-	date_default_timezone_set("America/Denver"); //Leave me alone.
-	if (isset($_GET['back']))
-		$back=true;
-	else
-		$back=false;
-	session_start();
-	if (!isset($_SESSION['stage']))
-		$_SESSION['stage']=0;
-	else
-		if($back)
-			$_SESSION['stage']--;
-		else
-			$_SESSION['stage']++;
-	if ($_SESSION['stage'] < 0) $_SESSION['stage']++;
-	$stage = $_SESSION['stage'];
-	if (!isset($_SESSION['server']))   $_SESSION['server']   = "";
-	if (!isset($_SESSION['database'])) $_SESSION['database'] = "";
-	if (!isset($_SESSION['username'])) $_SESSION['username'] = "";
-	if (!isset($_SESSION['password'])) $_SESSION['password'] = "";
-	if (!isset($_SESSION['hostname'])) $_SESSION['hostname'] = "";
-	
-?>
-<html>
-<head>
-<title>OmnomIRC Installer</title>
-</head>
-<body>
-OmnomIRC installer<br/>
-<form action="install.php" method="post">
-<?PHP
-	switch($stage)
-	{
-		case 0://Welcome
-			echo "Welcome to OmnomIRC! This is the installer. To use OmnomIRC, you must have a PHP install and a MySQL server.<br/>";
-			echo '<input type="submit" value="Next"/>';
-		break;
-		case 1://I am bender, please insert data
-			echo 'I need a few pieces of information from you to set up OmnomIRC.<br/>';
-			if (isset($_SESSION['error']))
-			{
-				echo ($_SESSION['error']);
-				unset($_SESSION['error']);
-			}
-			echo 'SQL Info:<br/>
-			<table>
-			<tr><td>
-				<label  for="server">Server:</label>
-				</td><td>
-				<input type="text" name="server" id="server" value="'.$_SESSION['server'].'"/><br/>
-				</td></tr><tr><td>
-				<label  for="database">Database:</label>
-				</td><td>
-				<input type="text" name="database" id="database" value="'.$_SESSION['database'].'"/><br/>
-				</td></tr><tr><td>
-				<label  for="username">Username:</label>
-				</td><td>
-				<input type="text" name="username" id="username" value="'.$_SESSION['username'].'"/><br/>
-				</td></tr><tr><td>
-				<label  for="password">Password:</label>
-				</td><td>
-				<input type="password" name="password" id="password"/>
-				</td></tr><tr><td>
-				<label  for="hostname">Hostname (the one OmnomIRC is on):</label>
-				</td><td>
-				<input type="text" name="hostname" id="hostname" value="'.$_SESSION['hostname'].'"/><br/>
-				</td></tr>
-				</table>';
-				echo '<br/><input type="button" value="Back" onclick="window.location=\'install.php?back=1\';"/>';
-				echo '<input type="submit" value="Next"/>';
-		break;
-		case 2://Confirmation
-			if ($_POST['server']=="") $_SESSION['error'] = '<span style="color:#F00">Please enter a server</span><br/>';
-			if ($_POST['database']=="") $_SESSION['error'] = $_SESSION['error'] . '<span style="color:#F00">Please enter a database</span><br/>';
-			if ($_POST['username']=="") $_SESSION['error'] = $_SESSION['error'] . '<span style="color:#F00">Please enter a username</span><br/>';
-			if ($_POST['password']=="") $_SESSION['error'] = $_SESSION['error'] . '<span style="color:#F00">Please enter a password</span><br/>';
-			if ($_POST['hostname']=="") $_SESSION['error'] = $_SESSION['error'] . '<span style="color:#F00">Please enter a hostname</dpan><br/>';
-			$_SESSION['server'] = $_POST['server'];
-			$_SESSION['database'] = $_POST['database'];
-			$_SESSION['username'] = $_POST['username'];
-			$_SESSION['password'] = $_POST['password'];
-			$_SESSION['hostname'] = $_POST['hostname'];
-			if (isset($_SESSION['error']))
-			{
-				$_SESSION['stage'] = 0;
-				echo '<script type="text/javascript">window.location.reload(true);</script>';
-				break;
-			}
-			$sql_connection=mysql_connect($_POST['server'],$_POST['username'],$_POST['password']);
-			if (!$sql_connection)
-				$_SESSION['error'] = $_SESSION['error'] . '<span style="color:#F00">Could not connect to server. Please check your input again.</span><br/>';
-			if (isset($_SESSION['error']))
-			{
-				$_SESSION['stage'] = 0;
-				echo '<script type="text/javascript">window.location.reload(true);</script>';
-			}
-			if (mysql_select_db($_POST['database'],$sql_connection))
-				echo '<span style="font-size;18pt;color:#AA0">WARNING</span><br/><span style="color:#AA0">Database ' . $_POST['database'] . ' already exists! If you continue, all data in it will be lost!<br/>Click back to enter a new database name</span><br/>';
-			echo '<span style="color:#0A0">Your data checks out! Hit next to install.</span>';
-			echo '<br/><input type="button" value="Back" onclick="window.location=\'install.php?back=1\';"/>';
-			echo '<input type="submit" value="Next"/>';
-		break;
-		case 3://Success
-			$randKey = rand(100,9999).'-'.Rand(10000,999999);
-			$randKey = md5($randKey);
-			$randKey = base64_encode($randKey);
-			$randKey = md5($randKey);
-			$config = '<?PHP
-	$sql_server="'.$_SESSION['server'].'";
-	$sql_db="'.$_SESSION['database'].'";
-	$sql_user="'.$_SESSION['username'].'";
-	$sql_password="'.$_SESSION['password'].'";
-	$signature_key="'.$randKey.'";
-?>';
-			
-			if (file_put_contents("config.php",$config))
-				echo "Config written<br/>";
-			else
-				echo "I could not write to the config file. Please check permissions and try again.<br/>";
-			$jsconfig = 'HOSTNAME="'.$_SESSION['hostname'].'";';
-			if (file_put_contents("config.js",$jsconfig))
-				echo "JS Config written<br/>";
-			else
-				echo "Could not write JS config. Please check permissions and try again.<br/>";
-			$sql_connection=mysql_connect($_SESSION['server'],$_SESSION['username'],$_SESSION['password']);
-			if (!mysql_query("DROP DATABASE IF EXISTS " . $_SESSION['database'],$sql_connection))
-				echo "I could not drop the database. Do you have permission?<br/>";
-			if (!mysql_query("CREATE DATABASE " . $_SESSION['database'],$sql_connection))
-				echo "I could not drop the database. Do you have permission?<br/>";
-			if (!mysql_select_db($_SESSION['database'],$sql_connection))
-				echo "I could not select the database. Did it create properly?<br/>";
-			$sql = file("dbinfo.sql");
-			foreach ($sql as $line)
-				if (!mysql_query($line,$sql_connection))
-					echo "I could not import the data. Has anything else failed?<br/>";
-			echo "Finished!<br/>For security purposes, it is highly reccomended that you now delete the install.php file out of the folder when done.";
-		break;
-		default://wat
-			$_SESSION['stage']=-1;
-			echo "Something went wrong. Please try again.";
-		break;
-	}
-?>
-
-</form>
-</body>
-</html>

+ 0 - 146
omnomirc_www/message.php

@@ -1,146 +0,0 @@
-<?PHP
-
-/*
-ip 108.174.51.58
-
-    OmnomIRC COPYRIGHT 2010,2011 Netham45
-
-    This file is part of OmnomIRC.
-
-    OmnomIRC is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 3 of the License, or
-    (at your option) any later version.
-
-    OmnomIRC is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with OmnomIRC.  If not, see <http://www.gnu.org/licenses/>.
-*/
-	include("Source/cachefix.php"); //This must be the first line in every file.
-	include("Source/sql.php");
-	include("Source/sign.php");
-
-	if (!isset($_GET['signature']) || !isset($_GET['nick']) || !isset($_GET['message']) || !isset($_GET['channel'])) die("Missing Required Field");
-	if (strlen($_GET['message']) < 4) die("Bad message");
-	if (!checkSignature($_GET['nick'],$_GET['signature'],true)) die("Bad signature");
-	
-	
-	$message = base64_url_decode(str_replace(" ","+",$_GET['message']));
-	$type = "message";
-	$message = str_replace(array("\r", "\r\n", "\n"), ' ', $message);
-	$parts = explode(" ",$message);
-	if ($parts[0] == "/me")
-	{
-		$type = "action";
-		$message = preg_replace("/\/me/","",$message,1);
-	}
-	if (strlen($message) <= 0) die("Bad message");
-	$nick = html_entity_decode(base64_url_decode($_GET['nick']));
-	$channel = base64_url_decode($_GET['channel']);
-	$pm = false;
-	if ($parts[0] == "/msg" || $parts[0] == "/pm")
-	{
-		$pm=true;
-		$channel = $parts[1];
-		$message = "";
-		unset($parts[0]);
-		unset($parts[1]);
-		$message = implode(" ",$parts);
-		$type = "pm";
-	}
-	
-	//Sorunome edit START
-	$sendNormal = true;
-	$reload = false;
-	$sendPm = false;
-	if ($parts[0] == "/ignore") {
-		unset($parts[0]);
-		$ignoreuser = strtolower(implode(" ",$parts));
-		$returnmessage = "";
-		$sendNormal = false;
-		$sendPm = true;
-		$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		if ($userSql["name"]==NULL) {
-			sql_query("INSERT INTO `irc_ignorelist` (name,ignores) VALUES('%s','')",strtolower($nick));
-			$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		}
-		if (strpos($userSql["ignores"],$ignoreuser."\n")===false) {
-			$userSql["ignores"].=$ignoreuser."\n";
-			sql_query("UPDATE `irc_ignorelist` SET ignores='%s' WHERE name='%s'",$userSql["ignores"],strtolower($nick));
-			$returnmessage = "\x033Now ignoring $ignoreuser.";
-			$reload = true;
-		} else {
-			$returnmessage = "\x034ERROR: couldn't ignore $ignoreuser: already ignoring.";
-		}
-	}
-	if ($parts[0] == "/unignore") {
-		unset($parts[0]);
-		$ignoreuser = strtolower(implode(" ",$parts));
-		$returnmessage = "";
-		$sendNormal = false;
-		$sendPm = true;
-		$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		if ($userSql["name"]==NULL) {
-			sql_query("INSERT INTO `irc_ignorelist` (name,ignores) VALUES('%s','')",strtolower($nick));
-			$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		}
-		$allIgnoreUsers = explode("\n","\n".$userSql["ignores"]);
-		$unignored = false;
-		for ($i;$i<sizeof($allIgnoreUsers);$i++) {
-			echo $allIgnoreUsers[$i]." ".$ignoreuser."\n";
-			if ($allIgnoreUsers[$i]==$ignoreuser) {
-				$unignored = true;
-				unset($allIgnoreUsers[$i]);
-			}
-		}
-		unset($allIgnoreUsers[0]); //whitespace bug
-		$userSql["ignores"] = implode("\n",$allIgnoreUsers);
-		if ($ignoreuser=="*") {$userSql["ignores"]="";$unignored=true;} //unignore all
-		if ($unignored) {
-			$returnmessage = "\x033You are not more ignoring $ignoreuser";
-			if ($ignoreuser=="*") $returnmessage = "\x033You are no longer ignoring anybody.";
-			mysql_fetch_array(sql_query("UPDATE `irc_ignorelist` SET ignores='%s' WHERE name='%s'",$userSql["ignores"],strtolower($nick)));
-			$reload = true;
-		} else {
-			$returnmessage = "\x034ERROR: You weren't ignoring $ignoreuser";
-		}
-	}
-	if ($parts[0] == "/ignorelist") {
-		$returnmessage = "";
-		$sendNormal = false;
-		$sendPm = true;
-		$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		if ($userSql["name"]==NULL) {
-			sql_query("INSERT INTO `irc_ignorelist` (name,ignores) VALUES('%s','')",strtolower($nick));
-			$userSql = mysql_fetch_array(sql_query("SELECT * FROM `irc_ignorelist` WHERE name='%s'",strtolower($nick)));
-		}
-		$returnmessage = "\x033Ignored users: ".str_replace("\n",",",$userSql["ignores"]);
-	}
-	if ($parts[0] == "/reload" || $parts[0] == "/refresh") {$reload = true;$sendNormal=false;}
-	//Sorunome edit END
-	if ($channel[0] == "*") //PM
-	{
-		$type = "pm";
-		$channel = substr($channel,1);
-	}
-	
-	if ($sendNormal) {//sorunome edit
-		sql_query("INSERT INTO `irc_outgoing_messages` (message,nick,channel,action) VALUES('%s','%s','%s','%s')",$message,$nick,$channel,($type=="action")?'1':'0');
-		sql_query("INSERT INTO `irc_lines` (name1,message,type,channel,time,online) VALUES('%s','%s','%s','%s','%s',1)",$nick,$message,$type,$channel,time());
-	}
-	if ($sendPm) {//sorunome edit START
-		sql_query("INSERT INTO `irc_lines` (name1,message,type,channel,time,online) VALUES('%s','%s','%s','%s','%s',1)","OmnomIRC",$returnmessage,"server",$nick,time());
-	}
-	if ($reload) {
-		sql_query("INSERT INTO `irc_lines` (name1,message,type,channel,time,online) VALUES('%s','%s','%s','%s','%s',1)","OmnomIRC","THE GAME","reload",$nick,time());
-	}
-	if (isset($_GET['textmode'])) {
-		session_start();
-		echo "<html><head><meta http-equiv=\"refresh\" content=\"1;url=textmode.php?update=".$_SESSION['curline']."\"></head><body>Sending message...</body></html>";
-	}
-	//sorunome edit END
-?>

+ 0 - 120
omnomirc_www/omnomirc_clean.sql

@@ -1,120 +0,0 @@
--- phpMyAdmin SQL Dump
--- version 3.3.2deb1ubuntu1
--- http://www.phpmyadmin.net
---
--- Host: localhost
--- Generation Time: Oct 20, 2012 at 10:21 AM
--- Server version: 5.1.63
--- PHP Version: 5.3.2-1ubuntu4.18
-
-SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
-
-
-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8 */;
-
---
--- Database: `netham`
---
-
--- --------------------------------------------------------
-
---
--- Table structure for table `irc_lines`
---
-
-CREATE TABLE IF NOT EXISTS `irc_lines` (
-  `line_number` int(10) unsigned NOT NULL AUTO_INCREMENT,
-  `name1` varchar(45) NOT NULL,
-  `name2` varchar(45) DEFAULT NULL,
-  `message` varchar(1024) DEFAULT NULL,
-  `type` varchar(45) NOT NULL,
-  `channel` varchar(45) NOT NULL,
-  `time` varchar(45) NOT NULL,
-  `Online` tinyint(1) NOT NULL DEFAULT '0',
-  PRIMARY KEY (`line_number`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-
---
--- Dumping data for table `irc_lines`
---
-
-
--- --------------------------------------------------------
-
---
--- Table structure for table `irc_outgoing_messages`
---
-
-CREATE TABLE IF NOT EXISTS `irc_outgoing_messages` (
-  `prikey` int(11) NOT NULL AUTO_INCREMENT,
-  `message` varchar(1024) NOT NULL,
-  `nick` varchar(45) NOT NULL,
-  `channel` varchar(45) NOT NULL,
-  `action` tinyint(1) NOT NULL DEFAULT '0',
-  PRIMARY KEY (`prikey`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-
---
--- Dumping data for table `irc_outgoing_messages`
---
-
-
--- --------------------------------------------------------
-
---
--- Table structure for table `irc_permissions`
---
-
-CREATE TABLE IF NOT EXISTS `irc_permissions` (
-  `generic_autoincrementing_prikey` int(11) NOT NULL AUTO_INCREMENT,
-  `username` varchar(120) DEFAULT NULL,
-  `channel` varchar(120) NOT NULL,
-  `modes` varchar(120) NOT NULL,
-  `isChanModes` tinyint(1) NOT NULL DEFAULT '0',
-  PRIMARY KEY (`generic_autoincrementing_prikey`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-
---
--- Dumping data for table `irc_permissions`
---
-
-
--- --------------------------------------------------------
-
---
--- Table structure for table `irc_users`
---
-
-CREATE TABLE IF NOT EXISTS `irc_users` (
-  `usernum` int(11) NOT NULL AUTO_INCREMENT,
-  `username` varchar(45) NOT NULL,
-  `channel` varchar(45) NOT NULL,
-  `online` int(50) NOT NULL DEFAULT '0',
-  `time` int(11) DEFAULT NULL,
-  PRIMARY KEY (`usernum`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-
---
--- Dumping data for table `irc_users`
---
-
-
-
--- ---------------------------------------------
--- Sorunome edit START
-CREATE TABLE IF NOT EXISTS `irc_ignorelist` (
-  `usernum` int(11) NOT NULL AUTO_INCREMENT,
-  `name` varchar(45) NOT NULL,
-  `ignores` varchar(1024) NOT NULL,
-  PRIMARY KEY (`usernum`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-CREATE TABLE IF NOT EXISTS `irc_topics` (
-  `channum` int(11) NOT NULL AUTO_INCREMENT,
-  `chan` varchar(45) NOT NULL,
-  `topic` varchar(1024) NOT NULL,
-  PRIMARY KEY (`channum`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
--- Sorunome edit END

+ 0 - 5
omnomirc_www/sign.php

@@ -1,5 +0,0 @@
-<?php
-include_once("Source/sign.php");
-echo base64_url_encode(sign($_GET['usr']));
-
-?> 

+ 0 - 3
omnomirc_www/test.php

@@ -1,3 +0,0 @@
-<?PHP
-echo strtotime('-50 minutes');
-?>

+ 0 - 72
omnomirc_www/textmode.php

@@ -1,72 +0,0 @@
-<?php
-//session_start();
-//error_reporting(E_ALL);
-session_start();
-
-ini_set('display_errors', '0');
-//include("Source/cachefix.php"); //This must be the first line in every file.
-include("Source/sql.php");
-include("Source/sign.php");
-include("Source/userlist.php");
-$count = "25";
-$channel = "#omnimaga";
-$nick = "0";
-if (isset($_GET['login'])) {
-	//session_destroy();
-	$_SESSION['sig'] = $_GET['sig'];
-	$_SESSION['nick'] = $_GET['nick'];
-}
-if (isset($_GET['message'])) {
-	echo "<html><body><form action='textmode.php?sendMessage' method='post'><input type='text' name='message' autofocus style='width:100%'><input type='Submit' value='Send'></form><table>".$_SESSION['content']."</table></body></html>";
-} elseif (isset($_GET['sendMessage'])) {
-	header("Location: message.php?textmode&nick=".base64_url_encode($_SESSION['nick'])."&signature=".base64_url_encode($_SESSION['sig'])."&message=".base64_url_encode($_POST['message'])."&channel=I29tbmltYWdh");
-} else {
-	
-	if (isset($_GET['update'])) {
-		$query = sql_query("SELECT * FROM `irc_lines` WHERE `line_number` > %s AND (`channel` = '%s' OR `channel` = '%s' OR (`channel` = '%s' AND `name1` = '%s'))",$_SESSION['curline'] + 0,$channel,$nick,$pm?$sender:"0", $nick);
-	} else {
-		$_SESSION['curline'] = 0;
-		$query = sql_query("SELECT x.* FROM (
-													SELECT * FROM `irc_lines` 
-													WHERE `channel` = '%s' OR `channel` = '%s'
-													ORDER BY `line_number` DESC 
-													LIMIT %s
-												) AS x
-												ORDER BY `line_number` ASC",$channel,$nick,$count + 0);
-		$_SESSION['content'] = "";
-	}
-	while ($result = mysql_fetch_array($query)) {
-		$line = "<tr>";
-		switch (strtolower($result['type'])) {
-			case "pm":
-			case "message":
-				$line .= "<td>&lt;".htmlspecialchars($result['name1'])."&gt; ".htmlspecialchars($result['message'])."</td>";break;
-			case "action":
-				$line .= "<td>* ".htmlspecialchars($result['name1'])." ".htmlspecialchars($result['message'])."</td>";break;
-			case "join":
-				if ($result['Online']=="0")
-					$line .= "<td>* ".htmlspecialchars($result['name1'])." has joined #omnimaga</td>";
-				break;
-			case "part":
-				if ($result['Online']=="0")
-					$line .= "<td>* ".htmlspecialchars($result['name1'])." has part (" . htmlspecialchars($result["message"]).")</td>";
-				break;
-			case "kick":
-				$line .= "<td> ".htmlspecialchars($result['name1'])." has kicked ".htmlspecialchars($result["name2"])." (" . htmlspecialchars($result["message"]).")</td>";break;
-			case "quit":
-				if ($result['Online']=="0")
-					$line .= "<td>* ".htmlspecialchars($result['name1'])." has quit (".htmlspecialchars($result["message"]).")</td>";
-				break;
-			case "mode":
-				$line .= "<td>* ".htmlspecialchars($result['name1'])." has set ".htmlspecialchars($result["message"])."</td>";break;
-			case "nick":
-				$line .= "<td>* ".htmlspecialchars($result['name1'])." has changed nick to ".htmlspecialchars($result["name2"])."</td>";break;
-			case "topic":
-				$line .= "<td>* ".htmlspecialchars($result['name1'])." has changed topic to ".htmlspecialchars($result["message"])."</td>";break;
-		}
-		$_SESSION['curline'] = $result['line_number'];
-		$_SESSION['content'] = $line."</tr>".$_SESSION['content'];
-	}
-	echo "<html><head><meta http-equiv=\"refresh\" content=\"5;url=textmode.php?update=".$_SESSION['curline']."\"></head><body><a href=\"textmode.php?message=".$_SESSION['curline']."\" autofocus>Click here to write a message</a><table>".$_SESSION['content']."</table></body></html>";
-}
-?>

+ 0 - 0
checkLogin.php → shims/smf/checkLogin.php


+ 0 - 0
omnomirc_www/COPYING → www/COPYING


+ 0 - 0
omnomirc_www/Options.html → www/Options.html


+ 0 - 0
omnomirc_www/beep.wav → www/beep.wav


+ 0 - 0
omnomirc_www/style.css → www/css/style.css


+ 0 - 0
omnomirc_www/Administrative Options.txt → www/doc/Administrative Options.txt


+ 0 - 0
omnomirc_www/Features to be added.txt → www/doc/Features to be added.txt


+ 0 - 0
omnomirc_www/Login system layout.txt → www/doc/Login system layout.txt


+ 0 - 0
omnomirc_www/error.png → www/img/error.png


+ 0 - 0
omnomirc_www/omni.png → www/img/omni.png


+ 0 - 0
omnomirc_www/smileys/XD.gif → www/img/smileys/XD.gif


+ 0 - 0
omnomirc_www/smileys/X_X.gif → www/img/smileys/X_X.gif


+ 0 - 0
omnomirc_www/smileys/alien2.gif → www/img/smileys/alien2.gif


+ 0 - 0
omnomirc_www/smileys/ange.gif → www/img/smileys/ange.gif


+ 0 - 0
omnomirc_www/smileys/angry.gif → www/img/smileys/angry.gif


+ 0 - 0
omnomirc_www/smileys/azn.gif → www/img/smileys/azn.gif


+ 0 - 0
omnomirc_www/smileys/banghead.gif → www/img/smileys/banghead.gif


+ 0 - 0
omnomirc_www/smileys/bigfrown.gif → www/img/smileys/bigfrown.gif


+ 0 - 0
omnomirc_www/smileys/blah.gif → www/img/smileys/blah.gif


+ 0 - 0
omnomirc_www/smileys/cheesy.gif → www/img/smileys/cheesy.gif


+ 0 - 0
omnomirc_www/smileys/cool.gif → www/img/smileys/cool.gif


+ 0 - 0
omnomirc_www/smileys/cry.gif → www/img/smileys/cry.gif


+ 0 - 0
omnomirc_www/smileys/devil.gif → www/img/smileys/devil.gif


+ 0 - 0
omnomirc_www/smileys/dry.gif → www/img/smileys/dry.gif


+ 0 - 0
omnomirc_www/smileys/embarrassed.gif → www/img/smileys/embarrassed.gif


+ 0 - 0
omnomirc_www/smileys/evil.gif → www/img/smileys/evil.gif


+ 0 - 0
omnomirc_www/smileys/evillaugh.gif → www/img/smileys/evillaugh.gif


+ 0 - 0
omnomirc_www/smileys/fou.gif → www/img/smileys/fou.gif


+ 0 - 0
omnomirc_www/smileys/grin.gif → www/img/smileys/grin.gif


+ 0 - 0
omnomirc_www/smileys/happy0075.gif → www/img/smileys/happy0075.gif


+ 0 - 0
omnomirc_www/smileys/huh.gif → www/img/smileys/huh.gif


+ 0 - 0
omnomirc_www/smileys/kiss.gif → www/img/smileys/kiss.gif


+ 0 - 0
omnomirc_www/smileys/lipsrsealed.gif → www/img/smileys/lipsrsealed.gif


+ 0 - 0
omnomirc_www/smileys/love.gif → www/img/smileys/love.gif


+ 0 - 0
omnomirc_www/smileys/mad.gif → www/img/smileys/mad.gif


+ 0 - 0
omnomirc_www/smileys/ninja.gif → www/img/smileys/ninja.gif


+ 0 - 0
omnomirc_www/smileys/psychedelicO_O.gif → www/img/smileys/psychedelicO_O.gif


+ 0 - 0
omnomirc_www/smileys/rolleyes.gif → www/img/smileys/rolleyes.gif


+ 0 - 0
omnomirc_www/smileys/sad.gif → www/img/smileys/sad.gif


+ 0 - 0
omnomirc_www/smileys/shocked.gif → www/img/smileys/shocked.gif


+ 0 - 0
omnomirc_www/smileys/shocked2.gif → www/img/smileys/shocked2.gif


+ 0 - 0
omnomirc_www/smileys/smiley.gif → www/img/smileys/smiley.gif


+ 0 - 0
omnomirc_www/smileys/smiley_grey.png → www/img/smileys/smiley_grey.png


+ 0 - 0
omnomirc_www/smileys/smiley_woot.gif → www/img/smileys/smiley_woot.gif


+ 0 - 0
omnomirc_www/smileys/thumbsupsmiley.gif → www/img/smileys/thumbsupsmiley.gif


+ 0 - 0
omnomirc_www/smileys/tongue.gif → www/img/smileys/tongue.gif


+ 0 - 0
omnomirc_www/smileys/undecided.gif → www/img/smileys/undecided.gif


+ 0 - 0
omnomirc_www/smileys/wink.gif → www/img/smileys/wink.gif


+ 0 - 0
omnomirc_www/btoa.js → www/js/btoa.js


+ 0 - 0
omnomirc_www/omnomirc.js → www/js/omnomirc.js


+ 0 - 0
omnomirc_www/omnomirc.old.js → www/js/omnomirc.old.js


+ 0 - 0
omnomirc_www/master → www/master