Subversion Repositories svnkaklik

Compare Revisions

Ignore whitespace Rev 5 → Rev 6

/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";
?>