here is is the basic script i use on kinky-devils its an old version but enjoy
kinky-devils.co.uk v1 (script)
Started on the old forum in January 2011 · view the original in the archive · old links redirect here
TL;DR · summary of 25 replies
- Nahar encountered errors related to headers already sent.
- The solution provided was to delete or comment out lines causing header issues.
- Brand asked for a create.php file for this script, which may be missing from the core files.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
updated style sheet from my v3 just change it back to this version
function webhead($id)
{
$theme=mysql_fetch_array(mysql_query("SELECT * FROM accounts WHERE id='".$id."'"));
$body_background=$theme["body_background"];
$body_text=$theme["body_text"];
$font_size=$theme["font_size"];
$font_style=$theme["font_style"];
$border_color=$theme["border_color"];
$div_background=$theme["div_background"];
$link_color=$theme["link_color"];
if(!$theme["uid"])
{
$body_background="".body_background()."";
$body_text="".body_text()."";
$font_size="small";
$font_style="Verdana, Arial, sans-serif";
$border_color="".border_color()."";
$div_background="".div_background()."";
$link_color="".link_color()."";}
if(!connect())
{
$body_background="#FFFFFF";
$body_text="#00000";
$font_size="small";
$font_style="Verdana, Arial, sans-serif";
$border_color="#FF0000";
$div_background="#000000";
$link_color="#0000FF";
}
$css.="<style type=\"text/css\">";
$css.="body{color: $body_text;";
$css.="font-family: $font_style;";
$css.="margin: 0;";
$css.="padding: 0;";
$css.="text-align: center;";
$css.="line-height: 110%;";
$css.="background: $body_background;";
$css.="font-size: $font_size;";
$css.="max-width : 80em;";
$css.="margin : 5px auto;";
$css.="border: 2px solid $border_color;}";
$css.="p {padding: 0px;}";
$css.="* {text-decoration: none;}";
$css.="img {border: 0px none;}";
$css.="a, a:active {color: $link_color;}";
$css.="a:visited {color: $link_color;}";
$css.="a:hover {color: $link_color;";
$css.="text-transform: uppercase;";
$css.="font-size: $font_size;";
$css.="color: $border_color;}";
$css.="head {font-family: $font_style;";
$css.="font-size: $font_size;}";
$css.="div {margin: 0px 0px 0px 0px;";
$css.="padding: 0px 0px 0px 0px;";
$css.="color: $body_background;";
$css.="background-color: $div_background;";
$css.="border: 5px solid $border_color;";
$css.="text-align: center;}";
$css.="</style>";
return $css;
}
It this lavascript?
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com
pls provide this in zip format
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com
i dont have winrar on my pc or can you tell me online rar extrator
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com
is this script is a lavascript? jsyguy23
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com
jsyguy23 wrote: yeah its lava v1 and v2 my version
jsyguy23 is this covered by copyright or any thing to do with ori's copyright or is it free to use with out copyright mate i dont want to be using any copyright scripts as you can get in big trouble for it
Anyone Have Try This?? m Get Error Warning: Cannot modify header information - headers already sent by (output started at /home/nahar/public_html/project/core/games.inc:4) in /home/mydimensi/public_html/project/core/header.inc on line 2
Warning: Cannot modify header information - headers already sent by (output started at /home/nahar/public_html/project/core/games.inc:4) in /home/mydimensi/public_html/project/core/header.inc on line 3 Could not connect to the server
Already Set Database Details But Still Get Problem.. Anyone?
lol too many headers overloading ! lol
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
delete them it will be fixed
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…
Nahar wrote: LoL..Still Cant Connect To Server..
have you filled this bit out
function serveraddy() { if($_SERVER['SERVER_ADDR']=="server ip address")return true; else return false; }
has anyone got a create.php for this script for downloads please as this is missing off the script
i be very greate full if anyone has it
<?php
define('CTS',true);
include("../core/functions.inc");
include("../core/session.inc");
if(!connectdb()){
dberror();
exit();
}
cleardata();
if(isipbanned(ip(),browser())){
if(!isshield(uid_ses($ses))){
ipban(uid_ses($ses));
exit();}
}
if(!islogged($ses)){
expired(uid_ses($ses));
exit();
}
if(isbanned(uid_ses($ses))){
if(!isshield(uid_ses($ses))){
banned(uid_ses($ses));
exit();}
}
mysql_query("UPDATE members SET host='".host()."', browser='".browser()."', ip='".ip()."' WHERE uid='".uid_ses($ses)."'");
if($save==yes){
web_head(nick_ses($ses)."@Site Tools",1,uid_ses($ses));
addonline(uid_ses($ses),"Site Tools","$PHP_SELF");
$title.="
<b>Updating Downloads</b>";
$main.="<p style=\"text-align: center\">";
if(download_tools(uid_ses($ses))){
$res=mysql_query("INSERT INTO download_cats SET name='".$name."', description='".$description."', active='1'");
if($res){
$main.="<img src=\"../images/ok.gif\" alt=\"\"/>$name Was Created Successfully";
}else{
$main.="<img src=\"../images/error.png\" alt=\"\"/><br/>Daterbase Error!";}
}else{
addonline(uid_ses($ses),"Site Tools!","$PHP_SELF");
$main.="<img src=\"../images/error.png\" alt=\"\"/><br/>Permission Denied!";
}
$main.="</p>";
$L1="<a href=\"downloads.php?ses=$ses\">Downloads</a>";
$L2="<a href=\"../main.php?ses=$ses\">
<img src=\"../$phpthumbs?src=../images/home.gif\" alt=\"\"/>Main Menu</a>";
xhtml($ses,$title,1,$L1,$L2,0,0,0,0,0,0,$main);
webfoot();
exit();
}
web_head(nick_ses($ses)."@Site Tools",1,uid_ses($ses));
addonline(uid_ses($ses),"Site Tools","$PHP_SELF");
$title.="<b>Create category</b><br/>
Create Download Category";
if(download_tools(uid_ses($ses))){
$main.="<p style=\"text-align: center\">";
$main.="<form action=\"$PHP_SELF?ses=$ses&save=yes\" method=\"post\">";
$main.="<b>Name:</b><br/><input name=\"name\" maxlength=\"100\"/><br/>";
$main.="<b>Description:</b><br/><input name=\"description\" maxlength=\"100\"/><br/>";
$main.="<input type=\"submit\" value=\"Save\"/>";
$main.="</form>";
$main.="</p>";
}else{
addonline(uid_ses($ses),"Site Tools!","$PHP_SELF");
$main.="<img src=\"../images/error.png\" alt=\"\"/><br/>Permission Denied!";
}
$main.="</p>";
$L1="<a href=\"downloads.php?ses=$ses\">Downloads</a>";
$L2="<a href=\"../main.php?ses=$ses\">
<img src=\"../$phpthumbs?src=../images/home.gif\" alt=\"\"/>Main Menu</a>";
xhtml($ses,$title,1,$L1,$L2,0,0,0,0,0,0,$main);
webfoot();
exit();
?>
<?php define('SCS',true); include("../core/main.inc"); if(!connect()){ dberror(); exit(); } cleardata(); if(!forum_tools(uid_ses($ses))){ toolerror(); exit(); } if(isipbanned(ip(),browser())){ if(!isshield(uid_ses($ses))){ ipban(uid_ses($ses)); exit();} } if(!islogged($ses)){ expired(uid_ses($ses)); exit(); } if(isbanned(uid_ses($ses))){ if(!isshield(uid_ses($ses))){ banned(uid_ses($ses)); exit();} } mysql_query("UPDATE members SET host='".host()."', browser='".browser()."', ip='".ip()."' WHERE uid='".uid_ses($ses)."'"); if($save==yes){ web_head(nick_ses($ses)."@Site Tools",1,uid_ses($ses)); addonline(uid_ses($ses),"Site Tools","$PHP_SELF"); $title.=" <b>Updating Downloads</b>"; $main.="<p style=\"text-align: center\">"; if(download_tools(uid_ses($ses))){ $res=mysql_query("INSERT INTO download_cats SET name='".$name."', description='".$description."', active='1'"); if($res){ $main.="<img src=\"../images/ok.gif\" alt=\"\"/>$name Was Created Successfully"; }else{ $main.="<img src=\"../images/error.png\" alt=\"\"/><br/>Daterbase Error!";} }else{ addonline(uid_ses($ses),"Site Tools!","$PHP_SELF"); $main.="<img src=\"../images/error.png\" alt=\"\"/><br/>Permission Denied!"; } $main.="</p>"; $L1="<a href=\"downloads.php?ses=$ses\">Downloads</a>"; $L2="<a href=\"../main.php?ses=$ses\"> <img src=\"../$phpthumbs?src=../images/home.gif\" alt=\"\"/>Main Menu</a>"; xhtml($ses,$title,1,$L1,$L2,0,0,0,0,0,0,$main); webfoot(); exit(); } web_head(nick_ses($ses)."@Site Tools",1,uid_ses($ses)); addonline(uid_ses($ses),"Site Tools","$PHP_SELF"); $title.="<b>Create category</b><br/> Create Download Category"; if(download_tools(uid_ses($ses))){ $main.="<p style=\"text-align: center\">"; $main.="<form action=\"$PHP_SELF?ses=$ses&save=yes\" method=\"post\">"; $main.="<b>Name:</b><br/><input name=\"name\" maxlength=\"100\"/><br/>"; $main.="<b>Description:</b><br/><input name=\"description\" maxlength=\"100\"/><br/>"; $main.="<input type=\"submit\" value=\"Save\"/>"; $main.="</form>"; $main.="</p>"; }else{ addonline(uid_ses($ses),"Site Tools!","$PHP_SELF"); $main.="<img src=\"../images/error.png\" alt=\"\"/><br/>Permission Denied!"; } $main.="</p>"; $L1="<a href=\"downloads.php?ses=$ses\">Downloads</a>"; $L2="<a href=\"../main.php?ses=$ses\"> <img src=\"../$phpthumbs?src=../images/home.gif\" alt=\"\"/>Main Menu</a>"; xhtml($ses,$title,1,$L1,$L2,0,0,0,0,0,0,$main); webfoot(); exit(); ?>
thanks nclemale