Parašė Qrmiz· 2007 Lap. 21 22:11:17
#2
Va tau pavyzdys:
openside("name");
echo " <img src='".BASEDIR."images/navigation/icon_home.gif'> <font class='menu'><b>Pagrindinis</b></font><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php'>Pagrindinis</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."articles.php'>Straipsniai</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."photogallery.php'>Foto Galerija</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."search.php'>Paieška</a><br><br>";
echo " <img src='".BASEDIR."images/navigation/icon_community.gif'> <font class='menu'><b>Pramogos</b></font><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."forum/index.php'>Forumas</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."weblinks.php'>Nuorodos</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php'>t.t</a><br><br>";
echo " <img src='".BASEDIR."images/navigation/icon_community.gif'> <font class='menu'><b>Kuriame svetainę</b></font><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php'>t.t</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php'>t.t</a><br>";
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."index.php'>t.t</a><br><br>";
//MEMBERS
echo "<img src='".BASEDIR."images/navigation/icon_members.gif'> <font class='menu'><b>Nariams</b></font><br>";
if (iMEMBER) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=n'>Pateikti naujieną</a><br>";
} else {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."viewpage.php?page_id=3'>Pateikti naujieną</a> <img src='".BASEDIR."images/navigation/icon_stop.gif'><br>";
}
if (iMEMBER) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=l'>Pateikti nuorodą</a><br>";
} else {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."viewpage.php?page_id=3'>Pateikti nuorodą</a> <img src='".BASEDIR."images/navigation/icon_stop.gif'><br>";
}
if (iMEMBER) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=a'>Pateikti straipsnį</a><br>";
} else {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."viewpage.php?page_id=3'>Pateikti straipsnį</a> <img src='".BASEDIR."images/navigation/icon_stop.gif'><br>";
}
if (iMEMBER) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."submit.php?stype=p'>Pateikti nuotrauką</a><br>";
} else {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."viewpage.php?page_id=3'>Pateikti nuotrauką</a> <img src='".BASEDIR."images/navigation/icon_stop.gif'><br>";
}
if (iMEMBER) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."messages.php?stype=a'>Asmeninės žinutės</a><br>";
} else {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."viewpage.php?page_id=3'>Asmeninės žinutės</a> <img src='".BASEDIR."images/navigation/icon_stop.gif'><br>";
}
if (iMEMBER) {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."infusions/avatar_gallery/avatar_gallery.php'>Avatarų galerija</a><br><br>";
} else {
echo "<img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."viewpage.php?page_id=3'>Avatarų galerija</a> <img src='".BASEDIR."images/navigation/icon_stop.gif'><br>";
}
closeside();
Įdėk kodą ten,kur paneles reik kurti ;)