Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 5 → Rev 6

/web/test/chat/dcshout/_vti_cnf/install.php
0,0 → 1,19
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|3287
vti_cachedtitle:SR|DC-shout installer+Upgrader
vti_cachedbodystyle:SR|<body>
vti_cachedlinkinfo:VX|Q|http://codez.darkdevils.co.uk/css.css H|install.php H|install.php
vti_cachedsvcrellinks:VX|NQHS|http://codez.darkdevils.co.uk/css.css FHUS|chat/dcshout/install.php FHUS|chat/dcshout/install.php
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_title:SR|DC-shout installer+Upgrader
vti_backlinkinfo:VX|chat/dcshout/install.php
/web/test/chat/dcshout/_vti_cnf/mod.php
0,0 → 1,14
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|1883
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
/web/test/chat/dcshout/_vti_cnf/shout.php
0,0 → 1,14
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|2321
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
/web/test/chat/dcshout/_vti_cnf/shoutbox.php
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_backlinkinfo:VX|content2.htm
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|1278
vti_cachedlinkinfo:VX|Q|http://codez.darkdevils.co.uk/css.css S|shoutbox/shout.php A|shoutbox/shout.php H|javascript:bb() H|javascript:show()
vti_cachedsvcrellinks:VX|NQHS|http://codez.darkdevils.co.uk/css.css NSUS|chat/dcshout/shoutbox/shout.php NAUS|chat/dcshout/shoutbox/shout.php SHUS|javascript:bb() SHUS|javascript:show()
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
/web/test/chat/dcshout/admin/_vti_cnf/config.php
0,0 → 1,17
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 13:48:03 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_backlinkinfo:VX|
vti_nexttolasttimemodified:TW|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 13:48:03 -0000
vti_filesize:IR|486
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 13:48:03 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/cpass.php
0,0 → 1,18
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|811
vti_cachedlinkinfo:VX|A|cpass.php
vti_cachedsvcrellinks:VX|FAUS|chat/dcshout/shoutbox/admin/cpass.php
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|chat/dcshout/shoutbox/admin/header.php chat/dcshout/shoutbox/admin/cpass.php
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/del.php
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|437
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/footer.php
0,0 → 1,18
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|183
vti_cachedlinkinfo:VX|H|http://codez.darkdevils.co.uk
vti_cachedsvcrellinks:VX|NHHS|http://codez.darkdevils.co.uk
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/functions.php
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|224
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/header.php
0,0 → 1,21
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|900
vti_cachedtitle:SR|DC Shout Admin
vti_cachedbodystyle:SR|<body>
vti_cachedlinkinfo:VX|Q|http://codez.darkdevils.co.uk/css.css H|index.php H|options.php H|word.php H|cpass.php H|viewshout.php
vti_cachedsvcrellinks:VX|NQHS|http://codez.darkdevils.co.uk/css.css FHUS|chat/dcshout/shoutbox/admin/index.php FHUS|chat/dcshout/shoutbox/admin/options.php FHUS|chat/dcshout/shoutbox/admin/word.php FHUS|chat/dcshout/shoutbox/admin/cpass.php FHUS|chat/dcshout/shoutbox/admin/viewshout.php
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_title:SR|DC Shout Admin
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/index.php
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|1177
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|chat/dcshout/shoutbox/admin/header.php
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/options.php
0,0 → 1,18
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|1009
vti_cachedlinkinfo:VX|A|options.php
vti_cachedsvcrellinks:VX|FAUS|chat/dcshout/shoutbox/admin/options.php
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|chat/dcshout/shoutbox/admin/options.php chat/dcshout/shoutbox/admin/header.php
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/viewshout.php
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|577
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|chat/dcshout/shoutbox/admin/header.php
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/_vti_cnf/word.php
0,0 → 1,18
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|1176
vti_cachedlinkinfo:VX|A|word.php
vti_cachedsvcrellinks:VX|FAUS|chat/dcshout/shoutbox/admin/word.php
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|chat/dcshout/shoutbox/admin/word.php chat/dcshout/shoutbox/admin/header.php
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/admin/config.php
0,0 → 1,16
<?php
//Dc-shout2.0 (c)devilcoderz 2004
//data base settings
$dbuser = "chaosdell" ; //your data base username
$dbpass = "sesvul";//your data base password
$dbname = "dcshout"; //data base name
$host = "localhost" ; //your host name
$theme = "basic";//Your shout box theme
//dont edit below this line
 
// lets start off with the concation
mysql_connect($host, $dbuser, $dbpass) or die ("did not connect to db") ;
mysql_select_db($dbname) ;
//That was the easy part
?>
 
/web/test/chat/dcshout/admin/cpass.php
0,0 → 1,38
<?php
//Dc-shout2.0 (c)devilcoderz 2004
 
include "header.php";
include "config.php";
include "functions.php";
if (!session_is_registered(username)) {
echo "Your not loged in!" ;
}
else
{
if ($submit)
{
if (!$_POST['pass'] )
{
die('You did not put in a password.<u><a href=javascript:%20history.back(-2)>Back</a></u>.') ;
}
$password = md5 ($_POST[pass]) ;
$user= $_SESSION[username] ;
$sql ="UPDATE dc_admin SET password='$password' WHERE user='$user' ";
$result = mysql_query($sql) or die(mysql_error());
echo "Password changed!" ;
}
else
{
echo "<b>what would you like you new pass to be?</b>" ;
?>
<form method="POST" action="cpass.php">
<input type="password" name="pass" >
<input type="submit" value="Change" name="submit">
</form>
<?
}
}
include "footer.php";
?>
 
 
/web/test/chat/dcshout/admin/del.php
0,0 → 1,28
<?php
//Dc-shout2.0 (c)devilcoderz 2004
include "header.php";
include "config.php";
include "functions.php";
if (!session_is_registered(username)) {
echo "Your not loged in!" ;
}
else
{
if ($_GET[shout])
{
$sql = "DELETE FROM dc_shoutbox WHERE id='$_GET[shout]'"or die ('No Such Shout!');
$result = mysql_query($sql);
echo "Shout deleted!" ;
}
else
{
echo"
No shout Deleted";
}
}
include "footer.php";
?>
 
 
 
 
/web/test/chat/dcshout/admin/footer.php
0,0 → 1,15
</td>
</tr>
<tr>
<td>
<b>Dc shout by <a href="http://codez.darkdevils.co.uk">Devil Coderz</a>(c)2004-2005</b>
</td>
</table>
</center>
</div>
 
</body>
 
</html>
 
 
/web/test/chat/dcshout/admin/functions.php
0,0 → 1,18
<?php
//Dc-shout2.0 (c)devilcoderz 2004
function logout()
{
session_unregister('username');
session_unregister('password');
echo "<b>you have been loged out of the Dc shout admin panel</b>";
}
?>
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/admin/header.php
0,0 → 1,34
<? session_start( ); ?>
<html>
 
<head>
<title>DC Shout Admin</title>
<link rel="stylesheet" type="text/css" href="http://codez.darkdevils.co.uk/css.css">
</head>
 
<body>
 
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="1" width="653" height="345" bordercolor="#FFFFFF">
<tr>
<td width="653" height="37" bgcolor="#C0C0C0" bordercolor="#000000"><font size="6">DC
Shout Admin</font></td>
</tr>
<tr>
<td width="653" height="16" bgcolor="#C0C0C0" bordercolor="#000000">
<p align="center"><a href="index.php?dc=logout">Logout</a> - <a href="options.php">Options</a> - <a href="word.php">Word Filter</a> - <a href="cpass.php">Change Password</a> -
<a href="viewshout.php">View Shouts</a></td>
</tr>
<tr>
<td width="653" height="292" bordercolor="#000000" valign="top">
 
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/admin/index.php
0,0 → 1,59
<?php
//Dc-shout2.0 (c)devilcoderz 2004
 
include "header.php";
include "config.php";
include "functions.php";
if ($dc=="")
{
if (!session_is_registered(username)) {
echo"
<form method=\"POST\" action=\"index.php?dc=login\">
<center>Username :<input type=\"text\" NAME=\"username\" size=\"20\"><br>
Password :<input type=\"text\" NAME=\"password\" size=\"20\"><br>
<input type=\"submit\" value=\"Log In\" Name=\"submit\">
</form>
</center>";
}
else
{
echo "welcome back to Dc shout admin panel";
}
}
if ($dc=="login")
{
if (!$_POST['username'] | !$_POST['password'] )
{
die('You did not fill in a username or password.<u><a href=javascript:%20history.back(-2)>Back</a></u>.') ;
}
$user = $username ;
$pass = md5 ($_POST['password']) ;
$result=mysql_query("select * from dc_admin where user='$user' ") or die ("No such username");
while ($row=mysql_fetch_array($result)) {
if ($row["password"]==$pass) {
echo ("You are now logged in $user!");
$_SESSION["username"] = "$user";
$_SESSION["password"] = "$pass";
}
else
{
echo"no such password";
}
}
}
if ($dc=="logout")
{
logout() ;
}
include "footer.php";
?>
 
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/admin/options.php
0,0 → 1,52
<?php
//Dc-shout2.0 (c)devilcoderz 2004
include "header.php";
include "config.php";
include "functions.php";
if (!session_is_registered(username)) {
echo "Your not loged in!" ;
}
else
{
if ($submit)
{
$sql ="UPDATE dc_setings SET shout='$box', bbcode='$bbcode', word='$word' WHERE id='1'";
$result = mysql_query($sql) or die(mysql_error());
echo "updated shoutbox setings";
 
}
else
{
?>
<form method="POST" action="options.php">
<b>Shoutbox(On/Off) :</b><select size="1" name="box">
<option selected value="y">On</option>
<option value="n">Off</option>
</select>
<br><br>
<b>BB Code(On/Off) :</b><select size="1" name="bbcode">
<option selected value="y">On</option>
<option value="n">Off</option>
</select>
<br>
<b>Worf filter(On/Off) :</b><select size="1" name="word">
<option selected value="y">On</option>
<option value="n">Off</option>
</select>
<br>
<input type="submit" value="Update" name="submit">
</form>
<?
}
}
include "footer.php";
?>
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/admin/viewshout.php
0,0 → 1,26
<?php
//Dc-shout2.0 (c)devilcoderz 2004
include "header.php";
include "config.php";
include "functions.php";
if (!session_is_registered(username)) {
echo "Your not loged in!" ;
}
else
{
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"1\">";
$result = mysql_query("select * from dc_shoutbox order by id desc ");
while($r=mysql_fetch_array($result))
{
echo"
<tr>
<td width=\"443\" height=\"1\" >$r[name] - $r[text] - <a href=\"del.php?shout=$r[id]\">Delete</a></td>
</tr>
";
}
echo "</table>";
}
include "footer.php";
?>
 
 
/web/test/chat/dcshout/admin/word.php
0,0 → 1,60
<?php
//Dc-shout2.0 (c)devilcoderz 2004
include "header.php";
if (!session_is_registered(username)) {
echo "Your not loged in!" ;
}
else
{
include "config.php";
?>
<center><b>Word fillter</b></center>
<br>
<br>
<?php
if ($action=="")
{
print "Words blocked at the moment are:<br>";
$gwords= mysql_query("select * from dc_word");
while ($w=mysql_fetch_array($gwords))
{
print "$w[word] <a href=\"word.php?action=del&id=$w[id]\">Delete</a>";
}
echo"<center><b>Add new word</b></center><br>";
?>
<form action="word.php?action=add" method="POST">
<input type="text" NAME="word" size="11"><br>
<input type="submit" value="Submit" name="submit">
</form>
<?
 
}
//Delte word
if ($action=="del")
{
$sql = "DELETE FROM dc_word WHERE id='$_GET[id]'"or die ('No Such Word!');
$result = mysql_query($sql);
echo "The word was deleted form the fillter";
}
//addword O.o
if ($action=="add")
{
if (!$_POST['word'])
{
echo "You did not enter a word :(";
}
else
{
$result = MYSQL_QUERY("INSERT INTO dc_word (id, word)". "VALUES ('NULL', '$_POST[word]')"); // inssert done
echo "Badword added :)";
}
}
}
include "footer.php";
?>
 
 
 
 
 
 
/web/test/chat/dcshout/inc/_vti_cnf/functions.php
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:15 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:15 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:15 -0000
vti_filesize:IR|81
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:15 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/inc/functions.php
0,0 → 1,21
<?php
//Dc_shout functions script v2.0
 
 
 
 
 
 
?>
 
 
 
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/install.php
0,0 → 1,127
<html>
<head>
<title>DC-shout installer+Upgrader</title>
<link rel="stylesheet" type="text/css" href="http://codez.darkdevils.co.uk/css.css">
</head>
<body>
<?php
include "admin/config.php";
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//installer (C)Devil Coderz 2004-2005 v1.1
//Dc-shout 2.0 upgrader+installer
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 
if ($action=="")
{
?>
<center><b>Dc-Shout</b></center>
<br>
<br>
<a href="install.php?action=new">New install</a><br>
<a href="install.php?action=upgrade">Upgrade</a>
<?
}
 
//New install
 
if ($action =="new")
{
print "<center><b>Installing</b></center>";
print"<br><br>";
 
mysql_query("CREATE TABLE `dc_admin` (
`id` bigint(20) NOT NULL auto_increment,
`user` varchar(130) NOT NULL default '',
`password` longtext NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ") or die("error adding table");
 
 
 
mysql_query("INSERT INTO `dc_admin` VALUES (1, 'admin', '098f6bcd4621d373cade4e832627b4f6')");
print "Added table1<br>";
 
mysql_query("CREATE TABLE `dc_setings` (
`id` int(11) NOT NULL auto_increment,
`shout` varchar(10) default 'y',
`bbcode` varchar(10) default 'y',
`word` varchar(10) default 'y',
PRIMARY KEY (`id`)
) TYPE=MyISAM COMMENT='Dc_sshout setings' AUTO_INCREMENT=2 ") or die("error adding table");
 
mysql_query("INSERT INTO `dc_setings` VALUES (1, 'y', 'y', 'y')");
print "Added table2<br>";
 
mysql_query("CREATE TABLE `dc_shoutbox` (
`id` int(11) NOT NULL auto_increment,
`name` longtext NOT NULL,
`text` longtext NOT NULL,
`ip` longtext NOT NULL,
PRIMARY KEY (`id`,`id`)
) TYPE=MyISAM COMMENT='Devil coderz shoutbox' ") or die ("error adding table");
print"Added table3<br>";
 
mysql_query("CREATE TABLE `dc_word` (
`id` int(120) NOT NULL auto_increment,
`word` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM") or die ("error adding table");
print "Added table 4<br><br>";
 
print "All database stuff added now delete this file";
}
 
 
//upgrade dc-shout to 2.0
if ($action == "upgrade")
{
print "<center><b>Upgrading</b></center>";
print"<br><br>";
 
mysql_query("DROP TABLE IF EXISTS `dc_admin`;
CREATE TABLE `dc_admin` (
`id` bigint(20) NOT NULL auto_increment,
`user` varchar(130) NOT NULL default '',
`password` longtext NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2") ;
 
mysql_query("INSERT INTO `dc_admin` VALUES (1, 'admin', '098f6bcd4621d373cade4e832627b4f6')");
print "upgrade part1 done <br>";
 
mysql_query("DROP TABLE IF EXISTS `dc_setings`;
CREATE TABLE `dc_setings` (
`id` int(11) NOT NULL auto_increment,
`shout` varchar(10) default 'y',
`bbcode` varchar(10) default 'y',
`word` varchar(10) default 'y',
PRIMARY KEY (`id`)
) TYPE=MyISAM COMMENT='Dc_sshout setings' AUTO_INCREMENT=2 ") ;
 
mysql_query("
INSERT INTO `dc_setings` VALUES (1, 'y', 'y', 'y')");
print "upgrade part2 done <br>";
 
mysql_query("DROP TABLE IF EXISTS `dc_word`;
CREATE TABLE `dc_word` (
`id` int(120) NOT NULL auto_increment,
`word` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM ") ;
print "upgrade part3 done <br><br>";
print "updating done:) now delete this file";
}
?>
 
</body>
</html>
 
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/mod.php
0,0 → 1,98
<?
//Dc-shout2.0 (c)devilcoderz 2004
if ($show== "")
{
 
//dc shout 2.0 bata codez.darkdevils.co.uk
include "admin/config.php";
include "template/$theme/top.htm" ;
include "inc/functions.php";
 
 
 
//start codes
$setstart = mysql_query("select * from dc_setings WHERE id='1'");
$settings=mysql_fetch_array($setstart);
 
 
 
//just makeing it making it more tidy
$box = $settings[shout] ;
$bc = $settings[bbcode] ;
$word = $settings[word] ;
if ($box== "y") // is the shoutbox on ?
{
//lets show these nice people there shouts
$result = mysql_query("select * from dc_shoutbox order by id desc limit 10 ");
while($r=mysql_fetch_array($result))
{
$bb = $r[text] ;//starts off the bb thing
if ($bc == "y") //if on y it should be on
{
$bb = str_replace("DD", "<b>Darkdevils</b>", $bb);
$bb = str_replace("<f red>", "<font color=red>", $bb);
$bb = str_replace("<f green>", "<font color=green>", $bb);
$bb = str_replace("<f blue>", "<font color=blue>", $bb);
$bb = str_replace("<f gray>", "<font color=gray>", $bb);
$bb = str_replace("<f gold>", "<font color=gold>", $bb);
$bb = str_replace("</f>", "</font>", $bb);
}
$loop_template = @implode("", @file("template/$theme/post.htm"));
$template = str_replace("{name}", $r['name'], $loop_template);
$template = str_replace("{mess}", $bb, $template);
echo $template ;
}
}
if ($box== "n")//hope the shoutbox is not off lol
{
echo "Shoutbox offline :(";
}
}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
if ($show== "bb")
{
print"
<center><b>::BB codes::</b></center>
<br>
<br>
Red text = &lt;f red&gt;text here&lt;/f&gt;
<br>
Green text = &lt;f green&gt;text here&lt;/f&gt;
<br>
Blue text = &lt;f blue&gt;text here&lt;/f&gt;
<br>
Gray text = &lt;f gray&gt;text here&lt;/f&gt;
<br>
Gold text = &lt;f gold&gt;text here&lt;/f&gt;
<br>
Drakdevils = DD
<br>
<br>
<br>
";
}
?>
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/shout.php
0,0 → 1,105
<?php
//Dc-shout2.0 (c)devilcoderz 2004
include "admin/config.php";
include "template/$theme/top.htm" ;
include "inc/functions.php";
 
 
 
//start codes
$setstart = mysql_query("select * from dc_setings WHERE id='1'");
$settings=mysql_fetch_array($setstart);
 
 
 
//just makeing it making it more tidy
$box = $settings[shout] ;
$bc = $settings[bbcode] ;
$word = $settings[word] ;
if ($box== "y") // is the shoutbox on ?
{
 
//Dis the use add a shout hummm
if ($submit)
{
if (!$_POST['user'])
{
die('You did not put in a name.<u><a href=javascript:%20history.back(-2)>Back</a></u>.') ;
}
if (!$_POST['message'])
{
die('You did not put in a message.<u><a href=javascript:%20history.back(-2)>Back</a></u>.') ;
}
$post = $_POST[message] ;
if ($word== "y")
{
//lets do some word blocking
$word = mysql_query("select * from dc_word");
while($w=mysql_fetch_array($word))
{
$post = str_replace("$w[word]", "****", $post) ;
}
}
$add = strip_tags($post) ;
$add = mysql_escape_string($add);
$addtwo = strip_tags($_POST[user]) ;
$addtwo = mysql_escape_string($addtwo);
$ip = $REMOTE_ADDR ; //makes the vistors ip store in db all ways on
$result = MYSQL_QUERY("INSERT INTO dc_shoutbox (id, name, text, ip)". "VALUES ('NULL', '$addtwo', '$add', '$ip')"); // inssert done
//show the posts
}
 
 
 
//lets show these nice people there shouts
$result = mysql_query("select * from dc_shoutbox order by id desc limit 10 ");
while($r=mysql_fetch_array($result))
{
$bb = $r[text] ;//starts off the bb thing
if ($bc == "y") //if on y it should be on
{
$bb = str_replace("DD", "<b>Darkdevils</b>", $bb);
$bb = str_replace("<f red>", "<font color=red>", $bb);
$bb = str_replace("<f green>", "<font color=green>", $bb);
$bb = str_replace("<f blue>", "<font color=blue>", $bb);
$bb = str_replace("<f gray>", "<font color=gray>", $bb);
$bb = str_replace("<f gold>", "<font color=gold>", $bb);
$bb = str_replace("</f>", "</font>", $bb);
}
$loop_template = @implode("", @file("template/$theme/post.htm"));
$template = str_replace("{name}", $r['name'], $loop_template);
$template = str_replace("{mess}", $bb, $template);
echo $template ;
}
}
 
 
 
if ($box== "n")//hope the shoutbox is not off lol
{
echo "Shoutbox offline :(";
}
?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/web/test/chat/dcshout/shoutbox.php
0,0 → 1,41
<link rel="stylesheet" type="text/css" href="http://codez.darkdevils.co.uk/css.css">
<table border="0" cellpadding="0" cellspacing="1" width="81" height="97">
<tr>
<iframe src="shoutbox/shout.php" scrolling="auto" width="149" height="150" frameborder="0" name="shoutbox">
Your browser doesn't support IFrames. The shoutbox cannot be displayed.</iframe>
<td width="44" height="13"><b>Name:</b></td>
<td width="118" height="13">
 
<form method="POST" action="shoutbox/shout.php" target="shoutbox">
<input type="text" NAME="user" size="11">
</td>
</tr>
<tr>
<td width="44" height="72" bordercolor="#FFFFFF" class="news"><b>Message:</b></td>
<td width="118" height="72" valign="top">
<textarea rows="2" NAME="message" cols="8"></textarea>
</td>
</tr>
<tr>
<td width="158" height="26" colspan="2">
<input type="submit" value="Submit" name="submit"><input type="reset" value="Reset" name="reset"></p>
</form>
<br>
<a href="javascript:bb()" target="shoutbox"><b>BB codes</b></a>
<br>
<a href="javascript:show()" target="shoutbox"><b>View past</b></a>
</td>
</tr>
</table>
 
 
 
 
 
 
 
/web/test/chat/dcshout/template/basic/_vti_cnf/post.htm
0,0 → 1,16
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:16 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:16 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:16 -0000
vti_filesize:IR|69
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:16 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/template/basic/_vti_cnf/top.htm
0,0 → 1,19
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|28 Jul 2005 10:16:16 -0000
vti_extenderversion:SR|6.0.2.5516
vti_author:SR|KAKLIK\\Jakub
vti_modifiedby:SR|KAKLIK\\Jakub
vti_timecreated:TR|28 Jul 2005 10:16:16 -0000
vti_cacheddtm:TX|28 Jul 2005 10:16:16 -0000
vti_filesize:IR|443
vti_cachedbodystyle:SR|<body>
vti_cachedlinkinfo:VX|Q|http://codez.darkdevils.co.uk/css.css
vti_cachedsvcrellinks:VX|NQHS|http://codez.darkdevils.co.uk/css.css
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_charset:SR|windows-1250
vti_backlinkinfo:VX|
vti_syncwith_192.168.177.137\:21/www:TX|28 Jul 2005 10:16:16 -0000
vti_syncofs_192.168.177.137\:21/www:TW|31 Jul 2004 07:23:00 -0000
/web/test/chat/dcshout/template/basic/post.htm
0,0 → 1,10
{name} Says :
<br>
{mess}
<br>
------------------
<br>
 
 
 
 
/web/test/chat/dcshout/template/basic/top.htm
0,0 → 1,25
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://codez.darkdevils.co.uk/css.css">
</head>
<body>
<script>
<!-- bb window -->
function bb(){
var popurl="mod.php?show=bb"
winpops=window.open(popurl,"","width=230,height=338,scrollbars,resizable,")
}
<!-- all window -->
function show(){
var popurl="mod.php"
winpops=window.open(popurl,"","width=150,height=338,scrollbars,resizable,")
}
</script>