What wrong here?
<?php
echo $session->KeyExists("edittable") ? "Edit" : "Create";
echo " site</div>\n<div class=\"create\">\n<h2 class=\"headding\">";
echo $session->KeyExists("edittable") ? "Edit" : "New";
echo " Site</h2>\n";
if (!isset($_SESSION['siteCreationProgress']) && $_SESSION['siteCreationProgress'] == 1)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create1.tpl");
}
else if ($_SESSION['siteCreationProgress'] == 2)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create2.tpl");
}
else if ($_SESSION['siteCreationProgress'] == 3)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create3.tpl");
}
else if ($_SESSION['siteCreationProgress'] == 4)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create4.tpl");
}
echo " \n<p class=\"para\"></p></div>\n";
?>
what i got in display back is:
Create Site
New site.
Meanwhile it should be:
Create Site
New site
( step 1 here. )
Please comment. I have to fix this.
<?php
echo $session->KeyExists("edittable") ? "Edit" : "Create";
echo " site</div>\n<div class=\"create\">\n<h2 class=\"headding\">";
echo $session->KeyExists("edittable") ? "Edit" : "New";
echo " Site</h2>\n";
if (!isset($_SESSION['siteCreationProgress']) && $_SESSION['siteCreationProgress'] == 1)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create1.tpl");
}
else if ($_SESSION['siteCreationProgress'] == 2)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create2.tpl");
}
else if ($_SESSION['siteCreationProgress'] == 3)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create3.tpl");
}
else if ($_SESSION['siteCreationProgress'] == 4)
{
include_once(WAPGO_ROOT . "/modules/Site/new/create4.tpl");
}
echo " \n<p class=\"para\"></p></div>\n";
?>
what i got in display back is:
Create Site
New site.
Meanwhile it should be:
Create Site
New site
( step 1 here. )
Please comment. I have to fix this.
Comment