コード例 #1
0
ファイル: index.php プロジェクト: nisal/php-viking
<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();
?>

	</p>
	</div>
	
	<!<img class="feature" src="sample1.jpg" width="980" height="50" alt="sample image" />
	
	<div id="content">
		<div class="left">
コード例 #2
0
ファイル: app_3_tree.php プロジェクト: nisal/php-viking
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>";
}