Location: PHPKode > projects > VampMan: V:tR Character Manager > vampman-1.0.2/phpnuke/modules/charactersheet/details.php
<?php
if (!eregi("modules.php", $PHP_SELF)){
  die ("You can't access this rows directly...");
}

$values = array();

$query = "select description,details from ".$prefix."_character_characters where charid = '$id'";
$result = sql_query($query, $dbi);
$num = sql_num_rows($result);
if(!$num)
	die (_nocharacter);
list($description,$details) = sql_fetch_array($result);



echo"<div align=left><form action=\"modules.php?name=$module_name\" method=\"post\">";

echo
"<b>"._description."</b><br>
<input type=\"hidden\" name = \"charid\" value=\"$id\">
<textarea cols=\"100\" rows=\"8\" name=\"description\">$description</textarea><br><br>
<b>"._details.":</b><br>
<textarea cols=\"100\" rows=\"8\" name=\"details\">$details</textarea><br><br>
";

echo "
<p><input type=\"submit\" name=\"submit\" value=\""._editdetails."\"></form></div>";

?>
Return current item: VampMan: V:tR Character Manager