Location: PHPKode > projects > MyOWNSpace > MyOWNspace_v8.2/www/members.php
<?php
include "header.php";
include "login.inc.php";
include "userspace.php";
include "config.php";
	if(checklogin()) {


loged($rawuser);
 // Start Putting String Together, Starting With Form Tags
$dropmenu = "<p><form name=\"otherpages\" action=\"myownadmin.php\" method=\"GET\">\n";
$dropmenu .= "<select name=\"go\" size=\"1\" class=\"user\" onChange=\"document.otherpages.submit()\">\n";

for($i=1;$i<=count($myspace);$i++)
{
if ($myspace[$i]['owner']==$rawuser) {
//echo $i."-".$myspace[$i]['artiste']."<br>";
$dropmenu .= "<option value=".$i.">".$myspace[$i]['artiste']." - ".$myspace[$i]['titre']."</option>\n";
}
}
$dropmenu .= "</select>&nbsp;\n";
$dropmenu .= "<input type=\"submit\" value=\"EDIT THIS SPACE\" class=\"user\">"; 

echo $dropmenu."</FORM>";

echo "<hr><H4><a href=\"myownadmin.php?add\">Create a New Space</a></H4><hr>";
}
include ("footer.php");
//fin

?>
Return current item: MyOWNSpace