login  Naam:   Wachtwoord: 
Registreer je!
 Forum

login probleem

Offline sunto - 02/08/2009 00:49 (laatste wijziging 19/09/2009 00:43)
Avatar van suntoNieuw lid
[code=php]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>{$site_name}</title>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
{php}
function insert_additional_data(){
global $config,$conn,$users;
if ($config['approve'] == 1) {$active = "and active = '1'";}
$sql = "SELECT count(*) as total from audio where type='public' $active";
$ars = $conn->Execute($sql);
$grandtotalpublic = $ars->fields['total'];
STemplate::assign('grandtotalpublic',$grandtotalpublic+0);

$sql = "SELECT count(*) as total from audio where type='private' $active";
$ars = $conn->Execute($sql);
$grandtotalprivate = $ars->fields['total'];
STemplate::assign('grandtotalprivate',$grandtotalprivate+0);

$sql = "SELECT count(*) as total from signup $query";
$ars = $conn->Execute($sql);
$grandtotaluser = $ars->fields['total'];
STemplate::assign('grandtotaluser',$grandtotaluser+0);
//stats end
$sql="SELECT * from channel ORDER BY rand() LIMIT 5 ";
$rs = $conn->Execute($sql);
$channellist = $rs->getrows();
STemplate::assign('channellist',$channellist);

#get latest audio on db
#end get latest audio on db
$sql = "SELECT * from audio where type='public' $active ORDER BY VID DESC LIMIT 5 ";
$rs = $conn->Execute($sql);
$footerLatestVideo = $rs->getrows();
STemplate::assign('footerLatestVideo',$footerLatestVideo);
//Recent TAGS

$featuredtagsquery="SELECT keyword from audio where type='public' $active order by addtime desc limit 20";
$recenttags=cloudTags($featuredtagsquery);
STemplate::assign('recenttagsfooter',$recenttags);

$scriptName = @$_SERVER['SCRIPT_NAME'];
$arrayScriptName = explode("/",$scriptName);
if (sizeof($arrayScriptName) > 0){
$scriptName = $arrayScriptName[(sizeof($arrayScriptName)-1)];
$homecurrent = "";
$uploadcurrent = "";
$watchcurrent = "";
$groupcurrent = "";
$friendcurrent = "";
$channelscurrent = "";
$communitycurrent = "";
$listCurrent = array(
"about.php"=>"homecurrent", "add_favour.php"=>"watchcurrent", "add_video.php"=>"watchcurrent",
"audio.php"=>"watchcurrent", "audio_channels.php"=>"channelscurrent",
"audio_channel_detail.php"=>"channelscurrent", "channels.php"=>"channelscurrent",
"channels1.php"=>"channelscurrent", "channel_detail.php"=>"channelscurrent",
"compose.php"=>"homecurrent", "confirm_email.php"=>"homecurrent", "create_group.php"=>"groupcurrent",
"emails"=>"homecurrent","ffavour.php"=>"friendcurrent",
"friends.php"=>"friendcurrent", "friend_accept.php"=>"friendcurrent",
"fvideos.php"=>"friendcurrent", "gmembers.php"=>"homecurrent", "groups.php"=>"groupcurrent",
"groups_home.php"=>"groupcurrent", "group_posts.php"=>"groupcurrent","gvideos.php"=>"groupcurrent",
"help.php"=>"homecurrent", "inbox.php"=>"homecurrent", "index.php"=>"homecurrent", "invite_friends.php"=>"friendcurrent",
"invite_members.php"=>"friendcurrent", "invite_signup.php"=>"friendcurrent",
"login.php"=>"homecurrent", "makeavideo.php"=>"watchcurrent",
"members.php"=>"communitycurrent", "more_tags.php"=>"homecurrent", "mygroup.php"=>"groupcurrent", "my_audio.php"=>"watchcurrent",
"my_favour.php"=>"homecurrent", "my_group_edit.php"=>"groupcurrent", "my_playlist.php"=>"homecurrent", "my_profile.php"=>"homecurrent",
"my_vdo_edit.php"=>"watchcurrent", "my_video.php"=>"watchcurrent", "outbox.php"=>"homecurrent", "pack_ops.php"=>"homecurrent", "payment.php"=>"",
"pmt_success.php"=>"", "privacy.php"=>"homecurrent", "recoverpass.php"=>"homecurrent", "renew_account.php"=>"homecurrent",
"rss_feeds.php"=>"homecurrent", "search.php"=>"homecurrent", "search_group.php"=>"groupcurrent", "search_result.php"=>"homecurrent", "signup.php"=>"homecurrent",
"terms.php"=>"homecurrent", "uaudios.php"=>"watchcurrent", "ufavour.php"=>"homecurrent", "ufavour_audio.php"=>"homecurrent",
"ufriends.php"=>"friendcurrent", "ugroups.php"=>"groupcurrent", "ugroup_members.php"=>"groupcurrent", "ugroup_videos.php"=>"groupcurrent",
"uplaylist.php"=>"homecurrent", "upload.php"=>"uploadcurrent", "upload_music.php"=>"uploadcurrent", "upload_success.php"=>"uploadcurrent",
"upload_success_music.php"=>"uploadcurrent", "uprofile.php"=>"communitycurrent", "uvideos.php"=>"watchcurrent", "video.php"=>"watchcurrent",
"video1.php"=>"watchcurrent", "view_audio.php"=>"watchcurrent", "view_video.php"=>"watchcurrent");
$resultCurrent = @$listCurrent[$scriptName] ;
if ($resultCurrent != ""){
${$resultCurrent} = " id='currentTab' ";
}
else{
$homecurrent = " id='currentTab' ";
}
STemplate::assign('homecurrent',$homecurrent);
STemplate::assign('uploadcurrent',$uploadcurrent);
STemplate::assign('watchcurrent',$watchcurrent);
STemplate::assign('groupcurrent',$groupcurrent);
STemplate::assign('friendcurrent',$friendcurrent);
STemplate::assign('channelscurrent',$channelscurrent);
STemplate::assign('communitycurrent',$communitycurrent);
}

if (@$_SESSION["UID"] != ""){
$sql="SELECT * from signup WHERE UID='".$_SESSION["UID"]."'";
$rs = $conn->Execute($sql);
$users = $rs->getrows();
}
}

{/php}

{insert name=additional_data }
{if $upload_page eq 'upload'}
<meta name="robots" content="index,nofollow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
{/if}
<link rel="alternate" type="application/rss+xml" title="RSS - 20 newest musics" href="rss/new/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most viewed musics" href="rss/views/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most commented musics" href="rss/comments/" />
<!--!!!!!!!!!!!!!!!!!!!!!!!! LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/myjavascriptfx.js" type="text/javascript"></script>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--!!!!!!!!!!!!!!!!!!!!!!!!! Processing SCRIPT !!!!!!!!!!!!!!!!!!!-->
<script language="JavaScript" src="{$baseurl}/js/indexonly.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascriptajax.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascript.js" type="text/javascript"></script>

<link href="{$baseurl}/css/tpl_style.css" rel="stylesheet" type="text/css" />
<link href="{$baseurl}/css/upload-progress.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="{$baseurl}/css/tpl_ie_6.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="{$baseurl}/css/tpl_ie_7.css" />
<![endif]-->

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
{if $upload_page eq 'upload'}
<script language="JavaScript" type="text/javascript">
var tmp_sid = "{$tmp_sid}";
var disallow_extensions = {$disallow_extensions}
var allow_extensions = {$allow_extensions};
var path_to_ini_status_script = "{$path_to_ini_status_script}";
var check_file_name_format = {$check_file_name_format};
var check_disallow_extensions = {$check_disallow_extensions};
var check_allow_extensions = {$check_allow_extensions};
var check_null_file_count = {$check_null_file_count};
var check_duplicate_file_count = {$check_duplicate_file_count};
var max_upload_slots = {$max_upload_slots};
var progress_bar_width = {$progress_bar_width};
</script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{/if}
</head>
<body {if $upload_page eq 'upload'}onLoad="iniFilePage()"{/if}>
<div id="head">
<h3>
{insert name="msg_count" assign=total_msg}
{if $smarty.session.USERNAME ne ""}
Ho&#351; geldin,
<a href="my_profile.php">{$smarty.session.USERNAME}</a> |
<a href="inbox.php">
{if $total_msg eq ""}
{assign var=mailIcon value="tpl_icon_message.gif"}
{else}
{assign var=mailIcon value="tpl_icon_new_message.gif"}
{/if}
<img src="{$imgurl}/{$mailIcon}" border="0" />

</a> (<a href="inbox.php">
{$total_msg}
</a>) | <a href="logout.php">&#199;&#305;k&#305;&#351;</a> | <a href="help.php">Yard&#305;m</a>
{else}
<a href="signup.php">Kay&#305;t Ol</a> | <a href="login.php">Giri&#351; Yap</a> | <a href="help.php">Yard&#305;m</a>
{/if}
</h3>
<h1><a href="{$baseurl}/" title="ILLEGALTURK.COM" class="logo">MP3Street</a></h1>
<h2>Alem Buysa - KRAL BIZIZ</h2>
</div>
<!-- end div head -->
<div class="clear"></div>
<div id="headnav">
<div id="navbar">
<div id="navcontainer">
<ul>
<li><a href="{$baseurl}/index.php" {$homecurrent}>ANASAYFA</a></li>
<li><a href="{$baseurl}/upload.php" {$uploadcurrent}>MP3 Y&#220;KLE</a></li>
<li><a href="{$baseurl}/audio.php?next=watch" {$watchcurrent}>M&#220;ZIK DINLE</a></li>
<li><a href="{$baseurl}/channels.php" {$channelscurrent}>KATEGORI</a></li>
<li><a href="{$baseurl}/groups.php" {$groupcurrent}>GRUPLAR</a></li>
<li><a href="{$baseurl}/members.php" {$communitycurrent}>ONL&#304;NE K&#304;&#350;&#304;</a></li>
<li><a href="{$baseurl}/friends.php" {$friendcurrent}>ARKADA&#350;LAR</a></li>
</ul>
</div>
</div>
<div id="navsubbar">
<p>
{if $head_bottom ne ""}
{include file = head_bottom/$head_bottom}
{else}
{include file = head_bottom/blank.tpl}
{/if}
{if $head_bottom_add ne ""}
{include file = head_bottom/$head_bottom_add}
{/if}
</p>
</div>
</div>

<!-- end div headnav -->
<div id="container"> {include file = head_bottom/$head_bottom_add}
{/if}
</p>
</div>
</div>
{include file = head_bottom/$head_bottom_add}
<!-- end div headnav -->
<div id="container"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>{$site_name}</title>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
{php}
function insert_additional_data(){
global $config,$conn,$users;
if ($config['approve'] == 1) {$active = "and active = '1'";}
$sql = "SELECT count(*) as total from audio where type='public' $active";
$ars = $conn->Execute($sql);
$grandtotalpublic = $ars->fields['total'];
STemplate::assign('grandtotalpublic',$grandtotalpublic+0);

$sql = "SELECT count(*) as total from audio where type='private' $active";
$ars = $conn->Execute($sql);
$grandtotalprivate = $ars->fields['total'];
STemplate::assign('grandtotalprivate',$grandtotalprivate+0);

$sql = "SELECT count(*) as total from signup $query";
$ars = $conn->Execute($sql);
$grandtotaluser = $ars->fields['total'];
STemplate::assign('grandtotaluser',$grandtotaluser+0);
//stats end
$sql="SELECT * from channel ORDER BY rand() LIMIT 5 ";
$rs = $conn->Execute($sql);
$channellist = $rs->getrows();
STemplate::assign('channellist',$channellist);

#get latest audio on db
#end get latest audio on db
$sql = "SELECT * from audio where type='public' $active ORDER BY VID DESC LIMIT 5 ";
$rs = $conn->Execute($sql);
$footerLatestVideo = $rs->getrows();
STemplate::assign('footerLatestVideo',$footerLatestVideo);
//Recent TAGS

$featuredtagsquery="SELECT keyword from audio where type='public' $active order by addtime desc limit 20";
$recenttags=cloudTags($featuredtagsquery);
STemplate::assign('recenttagsfooter',$recenttags);

$scriptName = @$_SERVER['SCRIPT_NAME'];
$arrayScriptName = explode("/",$scriptName);
if (sizeof($arrayScriptName) > 0){
$scriptName = $arrayScriptName[(sizeof($arrayScriptName)-1)];
$homecurrent = "";
$uploadcurrent = "";
$watchcurrent = "";
$groupcurrent = "";
$friendcurrent = "";
$channelscurrent = "";
$communitycurrent = "";
$listCurrent = array(
"about.php"=>"homecurrent", "add_favour.php"=>"watchcurrent", "add_video.php"=>"watchcurrent",
"audio.php"=>"watchcurrent", "audio_channels.php"=>"channelscurrent",
"audio_channel_detail.php"=>"channelscurrent", "channels.php"=>"channelscurrent",
"channels1.php"=>"channelscurrent", "channel_detail.php"=>"channelscurrent",
"compose.php"=>"homecurrent", "confirm_email.php"=>"homecurrent", "create_group.php"=>"groupcurrent",
"emails"=>"homecurrent","ffavour.php"=>"friendcurrent",
"friends.php"=>"friendcurrent", "friend_accept.php"=>"friendcurrent",
"fvideos.php"=>"friendcurrent", "gmembers.php"=>"homecurrent", "groups.php"=>"groupcurrent",
"groups_home.php"=>"groupcurrent", "group_posts.php"=>"groupcurrent","gvideos.php"=>"groupcurrent",
"help.php"=>"homecurrent", "inbox.php"=>"homecurrent", "index.php"=>"homecurrent", "invite_friends.php"=>"friendcurrent",
"invite_members.php"=>"friendcurrent", "invite_signup.php"=>"friendcurrent",
"login.php"=>"homecurrent", "makeavideo.php"=>"watchcurrent",
"members.php"=>"communitycurrent", "more_tags.php"=>"homecurrent", "mygroup.php"=>"groupcurrent", "my_audio.php"=>"watchcurrent",
"my_favour.php"=>"homecurrent", "my_group_edit.php"=>"groupcurrent", "my_playlist.php"=>"homecurrent", "my_profile.php"=>"homecurrent",
"my_vdo_edit.php"=>"watchcurrent", "my_video.php"=>"watchcurrent", "outbox.php"=>"homecurrent", "pack_ops.php"=>"homecurrent", "payment.php"=>"",
"pmt_success.php"=>"", "privacy.php"=>"homecurrent", "recoverpass.php"=>"homecurrent", "renew_account.php"=>"homecurrent",
"rss_feeds.php"=>"homecurrent", "search.php"=>"homecurrent", "search_group.php"=>"groupcurrent", "search_result.php"=>"homecurrent", "signup.php"=>"homecurrent",
"terms.php"=>"homecurrent", "uaudios.php"=>"watchcurrent", "ufavour.php"=>"homecurrent", "ufavour_audio.php"=>"homecurrent",
"ufriends.php"=>"friendcurrent", "ugroups.php"=>"groupcurrent", "ugroup_members.php"=>"groupcurrent", "ugroup_videos.php"=>"groupcurrent",
"uplaylist.php"=>"homecurrent", "upload.php"=>"uploadcurrent", "upload_music.php"=>"uploadcurrent", "upload_success.php"=>"uploadcurrent",
"upload_success_music.php"=>"uploadcurrent", "uprofile.php"=>"communitycurrent", "uvideos.php"=>"watchcurrent", "video.php"=>"watchcurrent",
"video1.php"=>"watchcurrent", "view_audio.php"=>"watchcurrent", "view_video.php"=>"watchcurrent");
$resultCurrent = @$listCurrent[$scriptName] ;
if ($resultCurrent != ""){
${$resultCurrent} = " id='currentTab' ";
}
else{
$homecurrent = " id='currentTab' ";
}
STemplate::assign('homecurrent',$homecurrent);
STemplate::assign('uploadcurrent',$uploadcurrent);
STemplate::assign('watchcurrent',$watchcurrent);
STemplate::assign('groupcurrent',$groupcurrent);
STemplate::assign('friendcurrent',$friendcurrent);
STemplate::assign('channelscurrent',$channelscurrent);
STemplate::assign('communitycurrent',$communitycurrent);
}

if (@$_SESSION["UID"] != ""){
$sql="SELECT * from signup WHERE UID='".$_SESSION["UID"]."'";
$rs = $conn->Execute($sql);
$users = $rs->getrows();
}
}

{/php}

{insert name=additional_data }
{if $upload_page eq 'upload'}
<meta name="robots" content="index,nofollow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
{/if}
<link rel="alternate" type="application/rss+xml" title="RSS - 20 newest musics" href="rss/new/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most viewed musics" href="rss/views/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most commented musics" href="rss/comments/" />
<!--!!!!!!!!!!!!!!!!!!!!!!!! LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/myjavascriptfx.js" type="text/javascript"></script>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--!!!!!!!!!!!!!!!!!!!!!!!!! Processing SCRIPT !!!!!!!!!!!!!!!!!!!-->
<script language="JavaScript" src="{$baseurl}/js/indexonly.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascriptajax.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascript.js" type="text/javascript"></script>

<link href="{$baseurl}/css/tpl_style.css" rel="stylesheet" type="text/css" />
<link href="{$baseurl}/css/upload-progress.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="{$baseurl}/css/tpl_ie_6.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="{$baseurl}/css/tpl_ie_7.css" />
<![endif]-->

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
{if $upload_page eq 'upload'}
<script language="JavaScript" type="text/javascript">
var tmp_sid = "{$tmp_sid}";
var disallow_extensions = {$disallow_extensions}
var allow_extensions = {$allow_extensions};
var path_to_ini_status_script = "{$path_to_ini_status_script}";
var check_file_name_format = {$check_file_name_format};
var check_disallow_extensions = {$check_disallow_extensions};
var check_allow_extensions = {$check_allow_extensions};
var check_null_file_count = {$check_null_file_count};
var check_duplicate_file_count = {$check_duplicate_file_count};
var max_upload_slots = {$max_upload_slots};
var progress_bar_width = {$progress_bar_width};
</script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{/if}
</head>
<body {if $upload_page eq 'upload'}onLoad="iniFilePage()"{/if}>
<div id="head">
<h3>
{insert name="msg_count" assign=total_msg}
{if $smarty.session.USERNAME ne ""}
Ho&#351; geldin,
<a href="my_profile.php">{$smarty.session.USERNAME}</a> |
<a href="inbox.php">
{if $total_msg eq ""}
{assign var=mailIcon value="tpl_icon_message.gif"}
{else}
{assign var=mailIcon value="tpl_icon_new_message.gif"}
{/if}
<img src="{$imgurl}/{$mailIcon}" border="0" />

</a> (<a href="inbox.php">
{$total_msg}
</a>) | <a href="logout.php">&#199;&#305;k&#305;&#351;</a> | <a href="help.php">Yard&#305;m</a>
{else}
<a href="signup.php">Kay&#305;t Ol</a> | <a href="login.php">Giri&#351; Yap</a> | <a href="help.php">Yard&#305;m</a>
{/if}
</h3>
<h1><a href="{$baseurl}/" title="ILLEGALTURK.COM" class="logo">MP3Street</a></h1>
<h2>Alem Buysa - KRAL BIZIZ</h2>
</div>
<!-- end div head -->
<div class="clear"></div>
<div id="headnav">
<div id="navbar">
<div id="navcontainer">
<ul>
<li><a href="{$baseurl}/index.php" {$homecurrent}>ANASAYFA</a></li>
<li><a href="{$baseurl}/upload.php" {$uploadcurrent}>MP3 Y&#220;KLE</a></li>
<li><a href="{$baseurl}/audio.php?next=watch" {$watchcurrent}>M&#220;ZIK DINLE</a></li>
<li><a href="{$baseurl}/channels.php" {$channelscurrent}>KATEGORI</a></li>
<li><a href="{$baseurl}/groups.php" {$groupcurrent}>GRUPLAR</a></li>
<li><a href="{$baseurl}/members.php" {$communitycurrent}>ONL&#304;NE K&#304;&#350;&#304;</a></li>
<li><a href="{$baseurl}/friends.php" {$friendcurrent}>ARKADA&#350;LAR</a></li>
</ul>
</div>
</div>
<div id="navsubbar">
<p>
{if $head_bottom ne ""}
{include file = head_bottom/$head_bottom}
{else}
{include file = head_bottom/blank.tpl}
{/if}
{if $head_bottom_add ne ""}
{include file = head_bottom/$head_bottom_add}
{/if}
</p>
</div>
</div>
<!-- end div headnav -->
<div id="container"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>{$site_name}</title>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
{php}
function insert_additional_data(){
global $config,$conn,$users;
if ($config['approve'] == 1) {$active = "and active = '1'";}
$sql = "SELECT count(*) as total from audio where type='public' $active";
$ars = $conn->Execute($sql);
$grandtotalpublic = $ars->fields['total'];
STemplate::assign('grandtotalpublic',$grandtotalpublic+0);

$sql = "SELECT count(*) as total from audio where type='private' $active";
$ars = $conn->Execute($sql);
$grandtotalprivate = $ars->fields['total'];
STemplate::assign('grandtotalprivate',$grandtotalprivate+0);

$sql = "SELECT count(*) as total from signup $query";
$ars = $conn->Execute($sql);
$grandtotaluser = $ars->fields['total'];
STemplate::assign('grandtotaluser',$grandtotaluser+0);
//stats end
$sql="SELECT * from channel ORDER BY rand() LIMIT 5 ";
$rs = $conn->Execute($sql);
$channellist = $rs->getrows();
STemplate::assign('channellist',$channellist);

#get latest audio on db
#end get latest audio on db
$sql = "SELECT * from audio where type='public' $active ORDER BY VID DESC LIMIT 5 ";
$rs = $conn->Execute($sql);
$footerLatestVideo = $rs->getrows();
STemplate::assign('footerLatestVideo',$footerLatestVideo);
//Recent TAGS

$featuredtagsquery="SELECT keyword from audio where type='public' $active order by addtime desc limit 20";
$recenttags=cloudTags($featuredtagsquery);
STemplate::assign('recenttagsfooter',$recenttags);

$scriptName = @$_SERVER['SCRIPT_NAME'];
$arrayScriptName = explode("/",$scriptName);
if (sizeof($arrayScriptName) > 0){
$scriptName = $arrayScriptName[(sizeof($arrayScriptName)-1)];
$homecurrent = "";
$uploadcurrent = "";
$watchcurrent = "";
$groupcurrent = "";
$friendcurrent = "";
$channelscurrent = "";
$communitycurrent = "";
$listCurrent = array(
"about.php"=>"homecurrent", "add_favour.php"=>"watchcurrent", "add_video.php"=>"watchcurrent",
"audio.php"=>"watchcurrent", "audio_channels.php"=>"channelscurrent",
"audio_channel_detail.php"=>"channelscurrent", "channels.php"=>"channelscurrent",
"channels1.php"=>"channelscurrent", "channel_detail.php"=>"channelscurrent",
"compose.php"=>"homecurrent", "confirm_email.php"=>"homecurrent", "create_group.php"=>"groupcurrent",
"emails"=>"homecurrent","ffavour.php"=>"friendcurrent",
"friends.php"=>"friendcurrent", "friend_accept.php"=>"friendcurrent",
"fvideos.php"=>"friendcurrent", "gmembers.php"=>"homecurrent", "groups.php"=>"groupcurrent",
"groups_home.php"=>"groupcurrent", "group_posts.php"=>"groupcurrent","gvideos.php"=>"groupcurrent",
"help.php"=>"homecurrent", "inbox.php"=>"homecurrent", "index.php"=>"homecurrent", "invite_friends.php"=>"friendcurrent",
"invite_members.php"=>"friendcurrent", "invite_signup.php"=>"friendcurrent",
"login.php"=>"homecurrent", "makeavideo.php"=>"watchcurrent",
"members.php"=>"communitycurrent", "more_tags.php"=>"homecurrent", "mygroup.php"=>"groupcurrent", "my_audio.php"=>"watchcurrent",
"my_favour.php"=>"homecurrent", "my_group_edit.php"=>"groupcurrent", "my_playlist.php"=>"homecurrent", "my_profile.php"=>"homecurrent",
"my_vdo_edit.php"=>"watchcurrent", "my_video.php"=>"watchcurrent", "outbox.php"=>"homecurrent", "pack_ops.php"=>"homecurrent", "payment.php"=>"",
"pmt_success.php"=>"", "privacy.php"=>"homecurrent", "recoverpass.php"=>"homecurrent", "renew_account.php"=>"homecurrent",
"rss_feeds.php"=>"homecurrent", "search.php"=>"homecurrent", "search_group.php"=>"groupcurrent", "search_result.php"=>"homecurrent", "signup.php"=>"homecurrent",
"terms.php"=>"homecurrent", "uaudios.php"=>"watchcurrent", "ufavour.php"=>"homecurrent", "ufavour_audio.php"=>"homecurrent",
"ufriends.php"=>"friendcurrent", "ugroups.php"=>"groupcurrent", "ugroup_members.php"=>"groupcurrent", "ugroup_videos.php"=>"groupcurrent",
"uplaylist.php"=>"homecurrent", "upload.php"=>"uploadcurrent", "upload_music.php"=>"uploadcurrent", "upload_success.php"=>"uploadcurrent",
"upload_success_music.php"=>"uploadcurrent", "uprofile.php"=>"communitycurrent", "uvideos.php"=>"watchcurrent", "video.php"=>"watchcurrent",
"video1.php"=>"watchcurrent", "view_audio.php"=>"watchcurrent", "view_video.php"=>"watchcurrent");
$resultCurrent = @$listCurrent[$scriptName] ;
if ($resultCurrent != ""){
${$resultCurrent} = " id='currentTab' ";
}
else{
$homecurrent = " id='currentTab' ";
}
STemplate::assign('homecurrent',$homecurrent);
STemplate::assign('uploadcurrent',$uploadcurrent);
STemplate::assign('watchcurrent',$watchcurrent);
STemplate::assign('groupcurrent',$groupcurrent);
STemplate::assign('friendcurrent',$friendcurrent);
STemplate::assign('channelscurrent',$channelscurrent);
STemplate::assign('communitycurrent',$communitycurrent);
}

if (@$_SESSION["UID"] != ""){
$sql="SELECT * from signup WHERE UID='".$_SESSION["UID"]."'";
$rs = $conn->Execute($sql);
$users = $rs->getrows();
}
}

{/php}

{insert name=additional_data }
{if $upload_page eq 'upload'}
<meta name="robots" content="index,nofollow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
{/if}
<link rel="alternate" type="application/rss+xml" title="RSS - 20 newest musics" href="rss/new/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most viewed musics" href="rss/views/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most commented musics" href="rss/comments/" />
<!--!!!!!!!!!!!!!!!!!!!!!!!! LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/myjavascriptfx.js" type="text/javascript"></script>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--!!!!!!!!!!!!!!!!!!!!!!!!! Processing SCRIPT !!!!!!!!!!!!!!!!!!!-->
<script language="JavaScript" src="{$baseurl}/js/indexonly.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascriptajax.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascript.js" type="text/javascript"></script>

<link href="{$baseurl}/css/tpl_style.css" rel="stylesheet" type="text/css" />
<link href="{$baseurl}/css/upload-progress.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="{$baseurl}/css/tpl_ie_6.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="{$baseurl}/css/tpl_ie_7.css" />
<![endif]-->

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
{if $upload_page eq 'upload'}
<script language="JavaScript" type="text/javascript">
var tmp_sid = "{$tmp_sid}";
var disallow_extensions = {$disallow_extensions}
var allow_extensions = {$allow_extensions};
var path_to_ini_status_script = "{$path_to_ini_status_script}";
var check_file_name_format = {$check_file_name_format};
var check_disallow_extensions = {$check_disallow_extensions};
var check_allow_extensions = {$check_allow_extensions};
var check_null_file_count = {$check_null_file_count};
var check_duplicate_file_count = {$check_duplicate_file_count};
var max_upload_slots = {$max_upload_slots};
var progress_bar_width = {$progress_bar_width};
</script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{/if}
</head>
<body {if $upload_page eq 'upload'}onLoad="iniFilePage()"{/if}>
<div id="head">
<h3>
{insert name="msg_count" assign=total_msg}
{if $smarty.session.USERNAME ne ""}
Ho&#351; geldin,
<a href="my_profile.php">{$smarty.session.USERNAME}</a> |
<a href="inbox.php">
{if $total_msg eq ""}
{assign var=mailIcon value="tpl_icon_message.gif"}
{else}
{assign var=mailIcon value="tpl_icon_new_message.gif"}
{/if}
<img src="{$imgurl}/{$mailIcon}" border="0" />

</a> (<a href="inbox.php">
{$total_msg}
</a>) | <a href="logout.php">&#199;&#305;k&#305;&#351;</a> | <a href="help.php">Yard&#305;m</a>
{else}
<a href="signup.php">Kay&#305;t Ol</a> | <a href="login.php">Giri&#351; Yap</a> | <a href="help.php">Yard&#305;m</a>
{/if}
</h3>
<h1><a href="{$baseurl}/" title="ILLEGALTURK.COM" class="logo">MP3Street</a></h1>
<h2>Alem Buysa - KRAL BIZIZ</h2>
</div>
<!-- end div head -->
<div class="clear"></div>
<div id="headnav">
<div id="navbar">
<div id="navcontainer">
<ul>
<li><a href="{$baseurl}/index.php" {$homecurrent}>ANASAYFA</a></li>
<li><a href="{$baseurl}/upload.php" {$uploadcurrent}>MP3 Y&#220;KLE</a></li>
<li><a href="{$baseurl}/audio.php?next=watch" {$watchcurrent}>M&#220;ZIK DINLE</a></li>
<li><a href="{$baseurl}/channels.php" {$channelscurrent}>KATEGORI</a></li>
<li><a href="{$baseurl}/groups.php" {$groupcurrent}>GRUPLAR</a></li>
<li><a href="{$baseurl}/members.php" {$communitycurrent}>ONL&#304;NE K&#304;&#350;&#304;</a></li>
<li><a href="{$baseurl}/friends.php" {$friendcurrent}>ARKADA&#350;LAR</a></li>
</ul>
</div>
</div>
<div id="navsubbar">
<p>
{if $head_bottom ne ""}
{include file = head_bottom/$head_bottom}
{else}
{include file = head_bottom/blank.tpl}
{/if}
{if $head_bottom_add ne ""}
{include file = head_bottom/$head_bottom_add}
{/if}
</p>
</div>
</div>

<!-- end div headnav -->
<div id="container"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>{$site_name}</title>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
{php}
function insert_additional_data(){
global $config,$conn,$users;
if ($config['approve'] == 1) {$active = "and active = '1'";}
$sql = "SELECT count(*) as total from audio where type='public' $active";
$ars = $conn->Execute($sql);
$grandtotalpublic = $ars->fields['total'];
STemplate::assign('grandtotalpublic',$grandtotalpublic+0);

$sql = "SELECT count(*) as total from audio where type='private' $active";
$ars = $conn->Execute($sql);
$grandtotalprivate = $ars->fields['total'];
STemplate::assign('grandtotalprivate',$grandtotalprivate+0);

$sql = "SELECT count(*) as total from signup $query";
$ars = $conn->Execute($sql);
$grandtotaluser = $ars->fields['total'];
STemplate::assign('grandtotaluser',$grandtotaluser+0);
//stats end
$sql="SELECT * from channel ORDER BY rand() LIMIT 5 ";
$rs = $conn->Execute($sql);
$channellist = $rs->getrows();
STemplate::assign('channellist',$channellist);

#get latest audio on db
#end get latest audio on db
$sql = "SELECT * from audio where type='public' $active ORDER BY VID DESC LIMIT 5 ";
$rs = $conn->Execute($sql);
$footerLatestVideo = $rs->getrows();
STemplate::assign('footerLatestVideo',$footerLatestVideo);
//Recent TAGS

$featuredtagsquery="SELECT keyword from audio where type='public' $active order by addtime desc limit 20";
$recenttags=cloudTags($featuredtagsquery);
STemplate::assign('recenttagsfooter',$recenttags);

$scriptName = @$_SERVER['SCRIPT_NAME'];
$arrayScriptName = explode("/",$scriptName);
if (sizeof($arrayScriptName) > 0){
$scriptName = $arrayScriptName[(sizeof($arrayScriptName)-1)];
$homecurrent = "";
$uploadcurrent = "";
$watchcurrent = "";
$groupcurrent = "";
$friendcurrent = "";
$channelscurrent = "";
$communitycurrent = "";
$listCurrent = array(
"about.php"=>"homecurrent", "add_favour.php"=>"watchcurrent", "add_video.php"=>"watchcurrent",
"audio.php"=>"watchcurrent", "audio_channels.php"=>"channelscurrent",
"audio_channel_detail.php"=>"channelscurrent", "channels.php"=>"channelscurrent",
"channels1.php"=>"channelscurrent", "channel_detail.php"=>"channelscurrent",
"compose.php"=>"homecurrent", "confirm_email.php"=>"homecurrent", "create_group.php"=>"groupcurrent",
"emails"=>"homecurrent","ffavour.php"=>"friendcurrent",
"friends.php"=>"friendcurrent", "friend_accept.php"=>"friendcurrent",
"fvideos.php"=>"friendcurrent", "gmembers.php"=>"homecurrent", "groups.php"=>"groupcurrent",
"groups_home.php"=>"groupcurrent", "group_posts.php"=>"groupcurrent","gvideos.php"=>"groupcurrent",
"help.php"=>"homecurrent", "inbox.php"=>"homecurrent", "index.php"=>"homecurrent", "invite_friends.php"=>"friendcurrent",
"invite_members.php"=>"friendcurrent", "invite_signup.php"=>"friendcurrent",
"login.php"=>"homecurrent", "makeavideo.php"=>"watchcurrent",
"members.php"=>"communitycurrent", "more_tags.php"=>"homecurrent", "mygroup.php"=>"groupcurrent", "my_audio.php"=>"watchcurrent",
"my_favour.php"=>"homecurrent", "my_group_edit.php"=>"groupcurrent", "my_playlist.php"=>"homecurrent", "my_profile.php"=>"homecurrent",
"my_vdo_edit.php"=>"watchcurrent", "my_video.php"=>"watchcurrent", "outbox.php"=>"homecurrent", "pack_ops.php"=>"homecurrent", "payment.php"=>"",
"pmt_success.php"=>"", "privacy.php"=>"homecurrent", "recoverpass.php"=>"homecurrent", "renew_account.php"=>"homecurrent",
"rss_feeds.php"=>"homecurrent", "search.php"=>"homecurrent", "search_group.php"=>"groupcurrent", "search_result.php"=>"homecurrent", "signup.php"=>"homecurrent",
"terms.php"=>"homecurrent", "uaudios.php"=>"watchcurrent", "ufavour.php"=>"homecurrent", "ufavour_audio.php"=>"homecurrent",
"ufriends.php"=>"friendcurrent", "ugroups.php"=>"groupcurrent", "ugroup_members.php"=>"groupcurrent", "ugroup_videos.php"=>"groupcurrent",
"uplaylist.php"=>"homecurrent", "upload.php"=>"uploadcurrent", "upload_music.php"=>"uploadcurrent", "upload_success.php"=>"uploadcurrent",
"upload_success_music.php"=>"uploadcurrent", "uprofile.php"=>"communitycurrent", "uvideos.php"=>"watchcurrent", "video.php"=>"watchcurrent",
"video1.php"=>"watchcurrent", "view_audio.php"=>"watchcurrent", "view_video.php"=>"watchcurrent");
$resultCurrent = @$listCurrent[$scriptName] ;
if ($resultCurrent != ""){
${$resultCurrent} = " id='currentTab' ";
}
else{
$homecurrent = " id='currentTab' ";
}
STemplate::assign('homecurrent',$homecurrent);
STemplate::assign('uploadcurrent',$uploadcurrent);
STemplate::assign('watchcurrent',$watchcurrent);
STemplate::assign('groupcurrent',$groupcurrent);
STemplate::assign('friendcurrent',$friendcurrent);
STemplate::assign('channelscurrent',$channelscurrent);
STemplate::assign('communitycurrent',$communitycurrent);
}

if (@$_SESSION["UID"] != ""){
$sql="SELECT * from signup WHERE UID='".$_SESSION["UID"]."'";
$rs = $conn->Execute($sql);
$users = $rs->getrows();
}
}

{/php}

{insert name=additional_data }
{if $upload_page eq 'upload'}
<meta name="robots" content="index,nofollow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
{/if}
<link rel="alternate" type="application/rss+xml" title="RSS - 20 newest musics" href="rss/new/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most viewed musics" href="rss/views/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most commented musics" href="rss/comments/" />
<!--!!!!!!!!!!!!!!!!!!!!!!!! LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/myjavascriptfx.js" type="text/javascript"></script>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--!!!!!!!!!!!!!!!!!!!!!!!!! Processing SCRIPT !!!!!!!!!!!!!!!!!!!-->
<script language="JavaScript" src="{$baseurl}/js/indexonly.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascriptajax.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascript.js" type="text/javascript"></script>

<link href="{$baseurl}/css/tpl_style.css" rel="stylesheet" type="text/css" />
<link href="{$baseurl}/css/upload-progress.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="{$baseurl}/css/tpl_ie_6.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="{$baseurl}/css/tpl_ie_7.css" />
<![endif]-->

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
{if $upload_page eq 'upload'}
<script language="JavaScript" type="text/javascript">
var tmp_sid = "{$tmp_sid}";
var disallow_extensions = {$disallow_extensions}
var allow_extensions = {$allow_extensions};
var path_to_ini_status_script = "{$path_to_ini_status_script}";
var check_file_name_format = {$check_file_name_format};
var check_disallow_extensions = {$check_disallow_extensions};
var check_allow_extensions = {$check_allow_extensions};
var check_null_file_count = {$check_null_file_count};
var check_duplicate_file_count = {$check_duplicate_file_count};
var max_upload_slots = {$max_upload_slots};
var progress_bar_width = {$progress_bar_width};
</script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{/if}
</head>
<body {if $upload_page eq 'upload'}onLoad="iniFilePage()"{/if}>
<div id="head">
<h3>
{insert name="msg_count" assign=total_msg}
{if $smarty.session.USERNAME ne ""}
Ho&#351; geldin,
<a href="my_profile.php">{$smarty.session.USERNAME}</a> |
<a href="inbox.php">
{if $total_msg eq ""}
{assign var=mailIcon value="tpl_icon_message.gif"}
{else}
{assign var=mailIcon value="tpl_icon_new_message.gif"}
{/if}
<img src="{$imgurl}/{$mailIcon}" border="0" />

</a> (<a href="inbox.php">
{$total_msg}
</a>) | <a href="logout.php">&#199;&#305;k&#305;&#351;</a> | <a href="help.php">Yard&#305;m</a>
{else}
<a href="signup.php">Kay&#305;t Ol</a> | <a href="login.php">Giri&#351; Yap</a> | <a href="help.php">Yard&#305;m</a>
{/if}
</h3>
<h1><a href="{$baseurl}/" title="ILLEGALTURK.COM" class="logo">MP3Street</a></h1>
<h2>Alem Buysa - KRAL BIZIZ</h2>
</div>
<!-- end div head -->
<div class="clear"></div>
<div id="headnav">
<div id="navbar">
<div id="navcontainer">
<ul>
<li><a href="{$baseurl}/index.php" {$homecurrent}>ANASAYFA</a></li>
<li><a href="{$baseurl}/upload.php" {$uploadcurrent}>MP3 Y&#220;KLE</a></li>
<li><a href="{$baseurl}/audio.php?next=watch" {$watchcurrent}>M&#220;ZIK DINLE</a></li>
<li><a href="{$baseurl}/channels.php" {$channelscurrent}>KATEGORI</a></li>
<li><a href="{$baseurl}/groups.php" {$groupcurrent}>GRUPLAR</a></li>
<li><a href="{$baseurl}/members.php" {$communitycurrent}>ONL&#304;NE K&#304;&#350;&#304;</a></li>
<li><a href="{$baseurl}/friends.php" {$friendcurrent}>ARKADA&#350;LAR</a></li>
</ul>
</div>
</div>
<div id="navsubbar">
<p>
{if $head_bottom ne ""}
{include file = head_bottom/$head_bottom}
{else}
{include file = head_bottom/blank.tpl}
{/if}
{if $head_bottom_add ne ""}
{include file = head_bottom/$head_bottom_add}
{/if}
</p>
</div>
</div>

<!-- end div headnav -->
<div id="container"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>{$site_name}</title>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
{php}
function insert_additional_data(){
global $config,$conn,$users;
if ($config['approve'] == 1) {$active = "and active = '1'";}
$sql = "SELECT count(*) as total from audio where type='public' $active";
$ars = $conn->Execute($sql);
$grandtotalpublic = $ars->fields['total'];
STemplate::assign('grandtotalpublic',$grandtotalpublic+0);

$sql = "SELECT count(*) as total from audio where type='private' $active";
$ars = $conn->Execute($sql);
$grandtotalprivate = $ars->fields['total'];
STemplate::assign('grandtotalprivate',$grandtotalprivate+0);

$sql = "SELECT count(*) as total from signup $query";
$ars = $conn->Execute($sql);
$grandtotaluser = $ars->fields['total'];
STemplate::assign('grandtotaluser',$grandtotaluser+0);
//stats end
$sql="SELECT * from channel ORDER BY rand() LIMIT 5 ";
$rs = $conn->Execute($sql);
$channellist = $rs->getrows();
STemplate::assign('channellist',$channellist);

#get latest audio on db
#end get latest audio on db
$sql = "SELECT * from audio where type='public' $active ORDER BY VID DESC LIMIT 5 ";
$rs = $conn->Execute($sql);
$footerLatestVideo = $rs->getrows();
STemplate::assign('footerLatestVideo',$footerLatestVideo);
//Recent TAGS

$featuredtagsquery="SELECT keyword from audio where type='public' $active order by addtime desc limit 20";
$recenttags=cloudTags($featuredtagsquery);
STemplate::assign('recenttagsfooter',$recenttags);

$scriptName = @$_SERVER['SCRIPT_NAME'];
$arrayScriptName = explode("/",$scriptName);
if (sizeof($arrayScriptName) > 0){
$scriptName = $arrayScriptName[(sizeof($arrayScriptName)-1)];
$homecurrent = "";
$uploadcurrent = "";
$watchcurrent = "";
$groupcurrent = "";
$friendcurrent = "";
$channelscurrent = "";
$communitycurrent = "";
$listCurrent = array(
"about.php"=>"homecurrent", "add_favour.php"=>"watchcurrent", "add_video.php"=>"watchcurrent",
"audio.php"=>"watchcurrent", "audio_channels.php"=>"channelscurrent",
"audio_channel_detail.php"=>"channelscurrent", "channels.php"=>"channelscurrent",
"channels1.php"=>"channelscurrent", "channel_detail.php"=>"channelscurrent",
"compose.php"=>"homecurrent", "confirm_email.php"=>"homecurrent", "create_group.php"=>"groupcurrent",
"emails"=>"homecurrent","ffavour.php"=>"friendcurrent",
"friends.php"=>"friendcurrent", "friend_accept.php"=>"friendcurrent",
"fvideos.php"=>"friendcurrent", "gmembers.php"=>"homecurrent", "groups.php"=>"groupcurrent",
"groups_home.php"=>"groupcurrent", "group_posts.php"=>"groupcurrent","gvideos.php"=>"groupcurrent",
"help.php"=>"homecurrent", "inbox.php"=>"homecurrent", "index.php"=>"homecurrent", "invite_friends.php"=>"friendcurrent",
"invite_members.php"=>"friendcurrent", "invite_signup.php"=>"friendcurrent",
"login.php"=>"homecurrent", "makeavideo.php"=>"watchcurrent",
"members.php"=>"communitycurrent", "more_tags.php"=>"homecurrent", "mygroup.php"=>"groupcurrent", "my_audio.php"=>"watchcurrent",
"my_favour.php"=>"homecurrent", "my_group_edit.php"=>"groupcurrent", "my_playlist.php"=>"homecurrent", "my_profile.php"=>"homecurrent",
"my_vdo_edit.php"=>"watchcurrent", "my_video.php"=>"watchcurrent", "outbox.php"=>"homecurrent", "pack_ops.php"=>"homecurrent", "payment.php"=>"",
"pmt_success.php"=>"", "privacy.php"=>"homecurrent", "recoverpass.php"=>"homecurrent", "renew_account.php"=>"homecurrent",
"rss_feeds.php"=>"homecurrent", "search.php"=>"homecurrent", "search_group.php"=>"groupcurrent", "search_result.php"=>"homecurrent", "signup.php"=>"homecurrent",
"terms.php"=>"homecurrent", "uaudios.php"=>"watchcurrent", "ufavour.php"=>"homecurrent", "ufavour_audio.php"=>"homecurrent",
"ufriends.php"=>"friendcurrent", "ugroups.php"=>"groupcurrent", "ugroup_members.php"=>"groupcurrent", "ugroup_videos.php"=>"groupcurrent",
"uplaylist.php"=>"homecurrent", "upload.php"=>"uploadcurrent", "upload_music.php"=>"uploadcurrent", "upload_success.php"=>"uploadcurrent",
"upload_success_music.php"=>"uploadcurrent", "uprofile.php"=>"communitycurrent", "uvideos.php"=>"watchcurrent", "video.php"=>"watchcurrent",
"video1.php"=>"watchcurrent", "view_audio.php"=>"watchcurrent", "view_video.php"=>"watchcurrent");
$resultCurrent = @$listCurrent[$scriptName] ;
if ($resultCurrent != ""){
${$resultCurrent} = " id='currentTab' ";
}
else{
$homecurrent = " id='currentTab' ";
}
STemplate::assign('homecurrent',$homecurrent);
STemplate::assign('uploadcurrent',$uploadcurrent);
STemplate::assign('watchcurrent',$watchcurrent);
STemplate::assign('groupcurrent',$groupcurrent);
STemplate::assign('friendcurrent',$friendcurrent);
STemplate::assign('channelscurrent',$channelscurrent);
STemplate::assign('communitycurrent',$communitycurrent);
}

if (@$_SESSION["UID"] != ""){
$sql="SELECT * from signup WHERE UID='".$_SESSION["UID"]."'";
$rs = $conn->Execute($sql);
$users = $rs->getrows();
}
}

{/php}

{insert name=additional_data }
{if $upload_page eq 'upload'}
<meta name="robots" content="index,nofollow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
{/if}
<link rel="alternate" type="application/rss+xml" title="RSS - 20 newest musics" href="rss/new/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most viewed musics" href="rss/views/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most commented musics" href="rss/comments/" />
<!--!!!!!!!!!!!!!!!!!!!!!!!! LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/myjavascriptfx.js" type="text/javascript"></script>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--!!!!!!!!!!!!!!!!!!!!!!!!! Processing SCRIPT !!!!!!!!!!!!!!!!!!!-->
<script language="JavaScript" src="{$baseurl}/js/indexonly.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascriptajax.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascript.js" type="text/javascript"></script>

<link href="{$baseurl}/css/tpl_style.css" rel="stylesheet" type="text/css" />
<link href="{$baseurl}/css/upload-progress.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="{$baseurl}/css/tpl_ie_6.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="{$baseurl}/css/tpl_ie_7.css" />
<![endif]-->

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
{if $upload_page eq 'upload'}
<script language="JavaScript" type="text/javascript">
var tmp_sid = "{$tmp_sid}";
var disallow_extensions = {$disallow_extensions}
var allow_extensions = {$allow_extensions};
var path_to_ini_status_script = "{$path_to_ini_status_script}";
var check_file_name_format = {$check_file_name_format};
var check_disallow_extensions = {$check_disallow_extensions};
var check_allow_extensions = {$check_allow_extensions};
var check_null_file_count = {$check_null_file_count};
var check_duplicate_file_count = {$check_duplicate_file_count};
var max_upload_slots = {$max_upload_slots};
var progress_bar_width = {$progress_bar_width};
</script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{/if}
</head>
<body {if $upload_page eq 'upload'}onLoad="iniFilePage()"{/if}>
<div id="head">
<h3>
{insert name="msg_count" assign=total_msg}
{if $smarty.session.USERNAME ne ""}
Ho&#351; geldin,
<a href="my_profile.php">{$smarty.session.USERNAME}</a> |
<a href="inbox.php">
{if $total_msg eq ""}
{assign var=mailIcon value="tpl_icon_message.gif"}
{else}
{assign var=mailIcon value="tpl_icon_new_message.gif"}
{/if}
<img src="{$imgurl}/{$mailIcon}" border="0" />

</a> (<a href="inbox.php">
{$total_msg}
</a>) | <a href="logout.php">&#199;&#305;k&#305;&#351;</a> | <a href="help.php">Yard&#305;m</a>
{else}
<a href="signup.php">Kay&#305;t Ol</a> | <a href="login.php">Giri&#351; Yap</a> | <a href="help.php">Yard&#305;m</a>
{/if}
</h3>
<h1><a href="{$baseurl}/" title="ILLEGALTURK.COM" class="logo">MP3Street</a></h1>
<h2>Alem Buysa - KRAL BIZIZ</h2>
</div>
<!-- end div head -->
<div class="clear"></div>
<div id="headnav">
<div id="navbar">
<div id="navcontainer">
<ul>
<li><a href="{$baseurl}/index.php" {$homecurrent}>ANASAYFA</a></li>
<li><a href="{$baseurl}/upload.php" {$uploadcurrent}>MP3 Y&#220;KLE</a></li>
<li><a href="{$baseurl}/audio.php?next=watch" {$watchcurrent}>M&#220;ZIK DINLE</a></li>
<li><a href="{$baseurl}/channels.php" {$channelscurrent}>KATEGORI</a></li>
<li><a href="{$baseurl}/groups.php" {$groupcurrent}>GRUPLAR</a></li>
<li><a href="{$baseurl}/members.php" {$communitycurrent}>ONL&#304;NE K&#304;&#350;&#304;</a></li>
<li><a href="{$baseurl}/friends.php" {$friendcurrent}>ARKADA&#350;LAR</a></li>
</ul>
</div>
</div>
<div id="navsubbar">
<p>
{if $head_bottom ne ""}
{include file = head_bottom/$head_bottom}
{else}
{include file = head_bottom/blank.tpl}
{/if}
{if $head_bottom_add ne ""}
{include file = head_bottom/$head_bottom_add}
{/if}
</p>
</div>
</div>
<!-- end div headnav -->
<div id="container"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>{$site_name}</title>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
{php}
function insert_additional_data(){
global $config,$conn,$users;
if ($config['approve'] == 1) {$active = "and active = '1'";}
$sql = "SELECT count(*) as total from audio where type='public' $active";
$ars = $conn->Execute($sql);
$grandtotalpublic = $ars->fields['total'];
STemplate::assign('grandtotalpublic',$grandtotalpublic+0);

$sql = "SELECT count(*) as total from audio where type='private' $active";
$ars = $conn->Execute($sql);
$grandtotalprivate = $ars->fields['total'];
STemplate::assign('grandtotalprivate',$grandtotalprivate+0);

$sql = "SELECT count(*) as total from signup $query";
$ars = $conn->Execute($sql);
$grandtotaluser = $ars->fields['total'];
STemplate::assign('grandtotaluser',$grandtotaluser+0);
//stats end
$sql="SELECT * from channel ORDER BY rand() LIMIT 5 ";
$rs = $conn->Execute($sql);
$channellist = $rs->getrows();
STemplate::assign('channellist',$channellist);

#get latest audio on db
#end get latest audio on db
$sql = "SELECT * from audio where type='public' $active ORDER BY VID DESC LIMIT 5 ";
$rs = $conn->Execute($sql);
$footerLatestVideo = $rs->getrows();
STemplate::assign('footerLatestVideo',$footerLatestVideo);
//Recent TAGS

$featuredtagsquery="SELECT keyword from audio where type='public' $active order by addtime desc limit 20";
$recenttags=cloudTags($featuredtagsquery);
STemplate::assign('recenttagsfooter',$recenttags);

$scriptName = @$_SERVER['SCRIPT_NAME'];
$arrayScriptName = explode("/",$scriptName);
if (sizeof($arrayScriptName) > 0){
$scriptName = $arrayScriptName[(sizeof($arrayScriptName)-1)];
$homecurrent = "";
$uploadcurrent = "";
$watchcurrent = "";
$groupcurrent = "";
$friendcurrent = "";
$channelscurrent = "";
$communitycurrent = "";
$listCurrent = array(
"about.php"=>"homecurrent", "add_favour.php"=>"watchcurrent", "add_video.php"=>"watchcurrent",
"audio.php"=>"watchcurrent", "audio_channels.php"=>"channelscurrent",
"audio_channel_detail.php"=>"channelscurrent", "channels.php"=>"channelscurrent",
"channels1.php"=>"channelscurrent", "channel_detail.php"=>"channelscurrent",
"compose.php"=>"homecurrent", "confirm_email.php"=>"homecurrent", "create_group.php"=>"groupcurrent",
"emails"=>"homecurrent","ffavour.php"=>"friendcurrent",
"friends.php"=>"friendcurrent", "friend_accept.php"=>"friendcurrent",
"fvideos.php"=>"friendcurrent", "gmembers.php"=>"homecurrent", "groups.php"=>"groupcurrent",
"groups_home.php"=>"groupcurrent", "group_posts.php"=>"groupcurrent","gvideos.php"=>"groupcurrent",
"help.php"=>"homecurrent", "inbox.php"=>"homecurrent", "index.php"=>"homecurrent", "invite_friends.php"=>"friendcurrent",
"invite_members.php"=>"friendcurrent", "invite_signup.php"=>"friendcurrent",
"login.php"=>"homecurrent", "makeavideo.php"=>"watchcurrent",
"members.php"=>"communitycurrent", "more_tags.php"=>"homecurrent", "mygroup.php"=>"groupcurrent", "my_audio.php"=>"watchcurrent",
"my_favour.php"=>"homecurrent", "my_group_edit.php"=>"groupcurrent", "my_playlist.php"=>"homecurrent", "my_profile.php"=>"homecurrent",
"my_vdo_edit.php"=>"watchcurrent", "my_video.php"=>"watchcurrent", "outbox.php"=>"homecurrent", "pack_ops.php"=>"homecurrent", "payment.php"=>"",
"pmt_success.php"=>"", "privacy.php"=>"homecurrent", "recoverpass.php"=>"homecurrent", "renew_account.php"=>"homecurrent",
"rss_feeds.php"=>"homecurrent", "search.php"=>"homecurrent", "search_group.php"=>"groupcurrent", "search_result.php"=>"homecurrent", "signup.php"=>"homecurrent",
"terms.php"=>"homecurrent", "uaudios.php"=>"watchcurrent", "ufavour.php"=>"homecurrent", "ufavour_audio.php"=>"homecurrent",
"ufriends.php"=>"friendcurrent", "ugroups.php"=>"groupcurrent", "ugroup_members.php"=>"groupcurrent", "ugroup_videos.php"=>"groupcurrent",
"uplaylist.php"=>"homecurrent", "upload.php"=>"uploadcurrent", "upload_music.php"=>"uploadcurrent", "upload_success.php"=>"uploadcurrent",
"upload_success_music.php"=>"uploadcurrent", "uprofile.php"=>"communitycurrent", "uvideos.php"=>"watchcurrent", "video.php"=>"watchcurrent",
"video1.php"=>"watchcurrent", "view_audio.php"=>"watchcurrent", "view_video.php"=>"watchcurrent");
$resultCurrent = @$listCurrent[$scriptName] ;
if ($resultCurrent != ""){
${$resultCurrent} = " id='currentTab' ";
}
else{
$homecurrent = " id='currentTab' ";
}
STemplate::assign('homecurrent',$homecurrent);
STemplate::assign('uploadcurrent',$uploadcurrent);
STemplate::assign('watchcurrent',$watchcurrent);
STemplate::assign('groupcurrent',$groupcurrent);
STemplate::assign('friendcurrent',$friendcurrent);
STemplate::assign('channelscurrent',$channelscurrent);
STemplate::assign('communitycurrent',$communitycurrent);
}

if (@$_SESSION["UID"] != ""){
$sql="SELECT * from signup WHERE UID='".$_SESSION["UID"]."'";
$rs = $conn->Execute($sql);
$users = $rs->getrows();
}
}

{/php}

{insert name=additional_data }
{if $upload_page eq 'upload'}
<meta name="robots" content="index,nofollow" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
{/if}
<link rel="alternate" type="application/rss+xml" title="RSS - 20 newest musics" href="rss/new/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most viewed musics" href="rss/views/" />
<link rel="alternate" type="application/rss+xml" title="RSS - 20 most commented musics" href="rss/comments/" />
<!--!!!!!!!!!!!!!!!!!!!!!!!! LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/myjavascriptfx.js" type="text/javascript"></script>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<!--!!!!!!!!!!!!!!!!!!!!!!!!! Processing SCRIPT !!!!!!!!!!!!!!!!!!!-->
<script language="JavaScript" src="{$baseurl}/js/indexonly.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascriptajax.js" type="text/javascript"></script>
<script language="JavaScript" src="{$baseurl}/js/myjavascript.js" type="text/javascript"></script>

<link href="{$baseurl}/css/tpl_style.css" rel="stylesheet" type="text/css" />
<link href="{$baseurl}/css/upload-progress.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="{$baseurl}/css/tpl_ie_6.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="{$baseurl}/css/tpl_ie_7.css" />
<![endif]-->

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
{if $upload_page eq 'upload'}
<script language="JavaScript" type="text/javascript">
var tmp_sid = "{$tmp_sid}";
var disallow_extensions = {$disallow_extensions}
var allow_extensions = {$allow_extensions};
var path_to_ini_status_script = "{$path_to_ini_status_script}";
var check_file_name_format = {$check_file_name_format};
var check_disallow_extensions = {$check_disallow_extensions};
var check_allow_extensions = {$check_allow_extensions};
var check_null_file_count = {$check_null_file_count};
var check_duplicate_file_count = {$check_duplicate_file_count};
var max_upload_slots = {$max_upload_slots};
var progress_bar_width = {$progress_bar_width};
</script>
<script language="JavaScript" type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{/if}
</head>
<body {if $upload_page eq 'upload'}onLoad="iniFilePage()"{/if}>
<div id="head">
<h3>
{insert name="msg_count" assign=total_msg}
{if $smarty.session.USERNAME ne ""}
Ho&#351; geldin,
<a href="my_profile.php">{$smarty.session.USERNAME}</a> |
<a href="inbox.php">
{if $total_msg eq ""}
{assign var=mailIcon value="tpl_icon_message.gif"}
{else}
{assign var=mailIcon value="tpl_icon_new_message.gif"}
{/if}
<img src="{$imgurl}/{$mailIcon}" border="0" />

</a> (<a href=

12 antwoorden

Gesponsorde links
Offline djb - 02/08/2009 01:17
Avatar van djb PHP beginner misschien in je query strtolower gebruiken

  1. SELECT id, geactiveerd, status FROM leden WHERE gebruikersnaam ='". strtolower($_POST['username']) ."' && wachtwoord='". strtolower($_POST['wachtwoord']) ."'


Of beter bovenin je pagina zorgen dat hij kleine letters is (in de eerste paar regels dus).
  1. $_POST['username'] = strtolower($_POST['username']);
  2. $_POST['wachtwoord'] = strtolower($_POST['wachtwoord']);


[offtopic]
Als ik jouw was zou ik niet een cookie opslaan met het wachtwoord erin,,
Dat is niet al te veilig, (en misschien de wachtwoorden encrypten met PHP.net: md5, het zijn wat tips )

Greets, jeroen
Offline sunto - 02/08/2009 01:37
Avatar van sunto Nieuw lid hoi dit werkt ook niet ?

ik moet dus bijvoorbeeld zo iets hebben;
als iemand aanmeld ,
met bv naam; hAhuOie en wachtwoord; Hm47xE

dan kan die gene niet inloggen daar zit de probleem.

Weetjij hoe dit opgelost kan worden Jeroen?

nog bedankt voorje reactie  
Offline Martijn - 02/08/2009 13:03
Avatar van Martijn Crew PHP allereerst, je bent bijzonder gevaarlijk bezig met info. Regel 1, een wachtwoord in een database is altijd beveiligd met md5(), sha1() of beide. Op die manier komt je wachtwoord raar in de database te staan
Test word bv 'hsgfKtyfFghJkGFHHkuygfF'
Mochten ze dan in je database komen, hebben ze nogsteeds geen wachtwoorden.

ALs je dat doet, moet je in je query ook WHERE pass=".sha1($pass)." doen. Dat word dan hoofdletter gevoelig op de juiste manier.

Dan, een wachtwoord opslaan in een cookie?! Je weet dat cookies jatbaar zijn? Als ik jou naar iets laat kijken die je cookie leest, dan kan ik dus zo jou worden.
Offline sunto - 02/08/2009 16:40
Avatar van sunto Nieuw lid
DeviourSoul schreef:
allereerst, je bent bijzonder gevaarlijk bezig met info. Regel 1, een wachtwoord in een database is altijd beveiligd met md5(), sha1() of beide. Op die manier komt je wachtwoord raar in de database te staan
Test word bv 'hsgfKtyfFghJkGFHHkuygfF'
Mochten ze dan in je database komen, hebben ze nogsteeds geen wachtwoorden.

ALs je dat doet, moet je in je query ook WHERE pass=".sha1($pass)." doen. Dat word dan hoofdletter gevoelig op de juiste manier.

Dan, een wachtwoord opslaan in een cookie?! Je weet dat cookies jatbaar zijn? Als ik jou naar iets laat kijken die je cookie leest, dan kan ik dus zo jou worden.


dit werkt ook niet  
Offline djb - 02/08/2009 17:23
Avatar van djb PHP beginner
sunto schreef:
dit werkt ook niet  

Hij gaf eerder een reactie op de manier hoe je wachtwoorden opslaat  
Niet iets van een oplossing,

Maar ik zie niet ergens een fout zitten in je code.

Maar even over de veiligheid (want er zitten wat dingen nog verkeerd in dat script) is wat DeviourSoul al zei, dat je ALTIJD je wachtwoorden niet als normaale tekst in de database moet zetten.

Je moet ze encrypten met PHP.net: md5 of PHP.net: sha1
En nooit wachtwoorden in een cookie zetten, een slim persoon kan dan zo die cookies zien, en zo alle wachtwoorden krijgen.
Dus dat is niet zo veilig  

Wat ik wel in mijn database zie is dat mijn velden (username en password) de "Collation" op "latin1_swedish_ci" hebben staan.
Ik zou zo 1,2,3 niet weten waarom het latin1_swedish is,, maar die "ci" staat voor case-insensitive, dus niet hoofdletter gevoellig.

Misschien zou dat het wel kunnen zijn.

Groetjes, Jeroen
Offline sunto - 03/08/2009 03:42
Avatar van sunto Nieuw lid kan iemand het inloggen.php script voormij herschrijven en de onnodige checks etc eruit halen?

heb een kleine vergoeding van 5 a 10 euro voor
Offline Arnold - 03/08/2009 07:43
Avatar van Arnold Nieuw lid @djb

Ik denk dat je hashen en encrypten door elkaar haalt. Een encryptie is namelijk terug te draaien naar zijn originele waarde. Een MD5 of SHA1 functie kan dat niet (=hashen). Wellicht is een combinatie van beide veiliger, zodat je een dergelijke constructie krijgt:

  1. $hashedPassword = sha1(md5($password) . sha1($password));
Offline sunto - 03/08/2009 08:39
Avatar van sunto Nieuw lid
Arnold schreef:
@djb

Ik denk dat je hashen en encrypten door elkaar haalt. Een encryptie is namelijk terug te draaien naar zijn originele waarde. Een MD5 of SHA1 functie kan dat niet (=hashen). Wellicht is een combinatie van beide veiliger, zodat je een dergelijke constructie krijgt:

[..code..]


Hey Arnold bedankt voor je reactie, mooie voorbeeld..

zijn er nog mensen die geintereseerd zijn om het inloggen.php script herte schrijven voormij?  
Offline ArieMedia - 03/08/2009 09:33 (laatste wijziging 03/08/2009 12:52)
Avatar van ArieMedia Gouden medaille

PHP ver gevorderde
sunto schreef:
[..quote..]

Hey Arnold bedankt voor je reactie, mooie voorbeeld..

zijn er nog mensen die geintereseerd zijn om het inloggen.php script herte schrijven voormij?  
ik schrijf binnenkort een inlog class. kan je die van mij gebruiken .

Edit: Script is al klaar. bij interesse moet je me ff een PM sturen
Offline shibble - 03/08/2009 15:25
Avatar van shibble MySQL interesse
Arie2Zero schreef:
[..quote..]ik schrijf binnenkort een inlog class. kan je die van mij gebruiken .

Edit: Script is al klaar. bij interesse moet je me ff een PM sturen


Is die login class in OOP geschreven? zoja zou ik er dan naar mogen kijken, hoe jij dat gedaan hebt... ik ga er geen gebruik van maken of wat dan ook, kwil er gewoon iets van opsteken .
Offline ArieMedia - 03/08/2009 15:40
Avatar van ArieMedia Gouden medaille

PHP ver gevorderde
shibble schreef:
[..quote..]

Is die login class in OOP geschreven? zoja zou ik er dan naar mogen kijken, hoe jij dat gedaan hebt... ik ga er geen gebruik van maken of wat dan ook, kwil er gewoon iets van opsteken .
Het is op OOP ja, maar het is heel simpel. Maargoed van mij mag je er naar kijken Zal vanavond bezig gaan op mijn site met het "scripts" gedeelte. Dan plak ik hem daar tussen en dan stuur ik je een PM
Offline shibble - 03/08/2009 21:01
Avatar van shibble MySQL interesse
Arie2Zero schreef:
[..quote..]Het is op OOP ja, maar het is heel simpel. Maargoed van mij mag je er naar kijken Zal vanavond bezig gaan op mijn site met het "scripts" gedeelte. Dan plak ik hem daar tussen en dan stuur ik je een PM


Okee dankuu (A) !
Gesponsorde links
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2026 Sitemasters.be - Regels - Laadtijd: 0.279s