<html>
<body background="<{$xoops_imageurl}>images/site_bg.gif" text="" link="" vlink="" alink="" topmargin="0">
<table align="center" cellpadding="0" cellspacing="0" width="840" border="0">
<tr>
<td><a href="<{$xoops_url}>/index.php"><img src="<{$xoops_imageurl}>images/banner.gif" align="center" alt="in tHis Moment..." border="0"></a></td>
<td align="right"><{$xoops_banner}></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="838" border="0" align="center" valign="middle" bgcolor="">
<tr>
<td bgcolor=""><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="1" height="1" alt="" border="0" hspace="0"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="838" border="0" align="center" bgcolor="" background="<{$xoops_imageurl}>images/bar.gif" height="25">
<tr valign="middle">
<td><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="24" height="25" border="0" hspace="0"></td>
<td><table border="0" cellspacing="0" cellpadding="0"><tr><td width="4" height="25"></td>
<td nowrap class="artsubhead" align="left">
<{if $xoops_isuser}>
Welcome <{$xoops_uname}>! | <a href="<{$xoops_url}>/user.php">Edit Profile</a> | <a href="<{$xoops_url}>/user.php?op=logout">Logout</a> |
<{else}>
<a href="<{$xoops_url}>/register.php">Create an account</a> | <a href="<{$xoops_url}>/user.php">Login</a> |
<{/if}>
<script type="text/javascript">
<!-- // Array ofmonth Names
var monthNames = new Array( "JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write( now.getDate() + " " + monthNames[now.getMonth()] + " " + thisYear) ;
// -->
</script>
</td>
<td width="30" height="25"> </td>
<td align="center" height="25" width="32%"><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="24" height="25" border="0" hspace="0"></td><td valign=middle align=right height=0><A HREF="javascript:void(0)" ONCLICK="open('http://www.thisgeneration.com/modules/cjaycontent/content/invite2/invite.php','miniwin','toolbar=0, location=0,directories=0, status=0,menubar=0, scrollbars=0,resizable=0, width=600,height=420')"><img src=<{$xoops_imageurl}>images/smail.gif> Invite A Friend</A></td>
<td width=5> </td>
</td>
</tr>
</table>
</tr>
</table>
<table background="<{$xoops_imageurl}>images/body_bg.gif" width="840" cellpadding="0" cellspacing="0" border="0" bgcolor="" align="center">
<tr>
<td> </td>
</tr>
</table>
<!-- FIN DEL TITULO -->
<table background="<{$xoops_imageurl}>images/body_bg.gif" width="840" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
<td bgcolor="" width="180" valign="top">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file="BlueBump/theme_blockleft.html"}>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td><img src="<{$xoops_imageurl}>images/pixel.gif" width="15" height="1" border="0" alt=""></td>
<td width="100%">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table border="0" cellspacing="5" cellpadding="0" width="100%" valign="top" bgcolor=#F3F5F7>
<tr class="bg2">
<td width="100%" colspan="2" valign="top" bgcolor=#F3F5F7>
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="BlueBump/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
<tr class="bg2">
<td width="50%" valign="top" bgcolor=#F3F5F7>
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="BlueBump/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td width="50%" valign="top" bgcolor=#F3F5F7>
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="BlueBump/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->
</td>
</tr>
<tr>
<td width="100%" colspan="2" valign="top">
<{else}>
<table border="0" cellspacing="5" cellpadding="0" cellspacing="0" width="100%" valign="top">
<tr>
<td width="100%" colspan="2" valign="top" >
<{/if}>
<!-- End display center blocks -->
<!-- Start Content -->
<table width="100%" height="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#F3F5F7">
<tr>
<td>
<table width="100%" height="100%" border="0" cellspacing="1" cellpadding="8" bgcolor="#F3F5F7">
<tr>
<td bgcolor="#F3F5F7"><{$xoops_contents}></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- End Content -->
</td>
</tr>
</table>
<{if $xoops_showcblock == 1}>
</td><td><img src="<{$xoops_imageurl}>images/pixel.gif" width="15" height="1" border="0" alt=""></td>
<td valign="top" width="180">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<{include file="BlueBump/theme_blockright.html"}>
<{/foreach}>
<!-- End right blocks loop -->
<{/if}>
</td>
</td>
</tr>
</table>
<table width="838" cellpadding="0" cellspacing="0" border="0" bgcolor="#9999cc" align="center">
<tr>
<td bgcolor="#DEDEE6"><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="1" height="1" alt="" border="0" hspace="0"></td>
</tr>
</table>
<br>
<table width="838" cellpadding="0" cellspacing="0" border="0" align="center">
<tr align="center">
<td width="98%" colspan="3" class="artsubhead"><{$xoops_footer}><br /><br /></td>
</tr>
</table>
</body>
</html>
Notice [PHP]: Undefined index: xoops_rblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: xoops_module_header in file templates_c/BlueBump^theme.html line 35
Notice [PHP]: Undefined index: xoops_rblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: xoops_crblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: xoops_clblocks in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: stories in file class/smarty/Smarty.class.php line 626
Notice [PHP]: Undefined index: xoops_module_header in file templates_c/BlueBump^theme.html line 35
Notice [PHP]: Undefined index: xoops_ccblocks in file templates_c/BlueBump^theme.html line 150
<FORM action="http://thisgeneration.com/modules/cjaycontent/content/encounters_form.php" method="POST">
<table>
<tr><td align="right">Script Title: </td><td><input type="text" name="script_title"></td></tr>
<tr><td align="right">Script: </td><td><input type="text" name="script"></td></tr>
<tr><td align="right">Content Title: </td><td><input type="text" name="content_title"></td></tr>
<tr><td align="right" valign="top">Content: </td><td><textarea name="content" rows="10" cols="50"></textarea></td></tr>
</table>
<input type="submit" name="submit" value="submit"> <input type="reset" value="reset">
</FORM>
<?php
$dbname = "thisgene_sitearticles"; // Place the database name here
$tablename = "encounters"; // Table name here
$dbconnect = mysql_connect ("localhost", "thisgene_porter", "password") or die(mysql_error());
$db = @mysql_select_db($dbname, $dbconnect);
$sql = "INSERT INTO $tablename (script_title, script, content_title, content) VALUES ('$_POST[script_title]', '$_POST[script]', '$_POST[content_title]', '$_POST[content]')";
$result = @mysql_querry($sql, $dbconnect) or die(mysql_error());
?>