PHPFusion - tai laisvai platinama nemokama turinio valdymo sistema (TVS), kurios pagalba galite greitai, lengvai ir
patogiai susikurti norimą internetinį puslapį. Plačiau apie sistemą...
Gal kas galetu man konkreciau pasakyti kaip sia uzklausa panaudoti, pvz noriu kat butu <a href='www.adressas.lt/failas.php?a=issiregistruoti'>issiregistroti</a> ir tada narys issiregistroja???
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright � 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
| Unreg addon created by Rytis S. (webdnd.com)
+----------------------------------------------------*/
require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";
if(!iMEMBER){exit;}
opentable('Išsiregistruoti');
if(!$step)
{
echo"
<center>
<form name='unred' method='post' action='unregister.php?step=ok'>
<input type='submit' value='Išsiregistruoti' class='button' style='width:300px'>
</form>
</center> ";
}
else
{
dbquery("DELETE FROM ".$db_prefix."users WHERE user_id='".$userdata['user_id']."'");
echo"Jūs išsiregistravote.";
}
closetable();
require_once "side_right.php";
require_once "footer.php";
?>
Jei nori, kad nuoroda į išsiregistravimą atsirastų vartotojo meniu, tai infusions/user_info_panel/user_info_panel.php pakeisk kodą į šį:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright � 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }