Beispiel #1
0
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="Your description goes here" />
	<meta name="keywords" content="your,keywords,goes,here" />
	<meta name="author" content="Your Name" />
	<link rel="stylesheet" type="text/css" href="index.css" title="Variant Duo" media="screen,projection" />
	<title>php-viking</title>
</head>

<body>
<div id="wrap">
	<h1><a href="index.php">PHP-VIKING 0.3</a></h1>
<p class="slogan"><?php 
viking_4_login_Form();
viking_3_createDb_Form(1);
viking_3_deleteDb_Form(1);
?>
   </p>
		
	<div id="menu">
		<p class="menulinks">
		<strong class="hide">Main menu:</strong>
		<?php 
viking_3_createDb_Link(1);
?>
		<?php 
viking_3_deleteDb_Link(1);
?>
                <?php 
viking_4_login_logout();
Beispiel #2
0
function viking_3_showFunctions($sys_id)
{
    //echo("<h2>Structure</h2>");
    echo "<table border=1>";
    echo "<tr><td>";
    echo "<b>showDb</b><br>";
    viking_3_showDb($sys_id);
    echo "</td><td>";
    echo "<b>showObject</b><br>";
    viking_3_showObject($sys_id);
    echo "</td></tr><tr><td>";
    echo "<b>selectDb</b><br>";
    viking_3_selectDb($sys_id);
    echo "</td><td>";
    echo "<b>showDbName</b><br>";
    viking_3_showDbName($sys_id);
    echo "</td><td>";
    echo "<b>showObjectName</b><br>";
    viking_3_showObjectName($sys_id);
    echo "</td></tr><tr><td>";
    echo "<b>createDbLink</b><br>";
    viking_3_createDb_Link($sys_id);
    echo "</td><td>";
    echo "<b>createDbForm</b><br>";
    viking_3_createDb_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr><tr><td>";
    echo "<b>deleteDbLink</b><br>";
    viking_3_deleteDb_Link($sys_id);
    echo "</td><td>";
    echo "<b>deleteDbForm</b><br>";
    viking_3_deleteDb_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr><tr><td>";
    echo "<b>addObjectLink</b><br>";
    viking_3_addObject_Link($sys_id);
    echo "</td><td>";
    echo "<b>addObjectForm</b><br>";
    viking_3_addObject_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr><tr><td>";
    echo "<b>renameObjectLink</b><br>";
    viking_3_renameObject_Link($sys_id);
    echo "</td><td>";
    echo "<b>renameObjectForm</b><br>";
    viking_3_renameObject_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr><tr><td>";
    echo "<b>setTextLink</b><br>";
    viking_3_setText_Link($sys_id);
    echo "</td><td>";
    echo "<b>setTextForm</b><br>";
    viking_3_setText_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr><tr><td>";
    echo "<b>addLinkLink</b><br>";
    viking_3_addLinkTo_Link($sys_id);
    echo "</td><td>";
    echo "<b>addLinkForm</b><br>";
    viking_3_addLinkTo_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr><tr><td>";
    echo "<b>setImageLink</b><br>";
    viking_3_setImage_Link($sys_id);
    echo "</td><td>";
    echo "<b>setIMageForm</b><br>";
    viking_3_setImage_Form($sys_id);
    echo "</td><td>";
    echo "</td></tr>";
    echo "</table>";
}