Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikalingas kodas

Parašė NxS· 2008 Gru. 1 21:12:35
#1

Sveiki, as noreciau suzinoti kai parasyti koda kad tiktu panelei i navigacija pvz noriu kad butu linkas i koki foruma navigacijo bet ji temato nariai o sveciai ne 9arba dar geriau mato abu bet tegali paspausti narys) dekoju is anksto

Parašė ex-it· 2008 Gru. 1 21:12:16
#2

If (iMEMBER) {<a href='linkas'>FORUMAS</a>} else
{<a href='#'>FORUMAS _ NYgalima</a>} echo "<br>";

Redagavo ex-it· 2008 Gru. 1 21:12:46

Parašė NxS· 2008 Gru. 1 21:12:54
#3

tai kad neveikia panelėje sis kodas

Parašė ex-it· 2008 Gru. 1 21:12:23
#4

openside('Panike');
if (iMEMBER) {echo "<a href='linkas'>FORUMAS</a>";} else
{echo "<a href='#'>FORUMAS _ NYgalima</a>";} echo "<br>";
closeside();


Kas neveikia? nemeginau gal ir palikau kokia klaida :)

EDIT- veikia :)

Redagavo ex-it· 2008 Gru. 1 21:12:17

Parašė sniuff· 2008 Gru. 1 21:12:02
#5

ex-it, tu noobas ?

openside("Panelė");
if(iMEMBER) {
echo "<a href='LINKAS_KUR'>TEKSTAS</a>";
} else {
echo "TAS_PATS_TEKSTAS";
}
clostable();



Parašė ex-it· 2008 Gru. 1 21:12:53
#6

netycia greit parasiau :D
dabar gerai viskas megink. Suveliau :D kai taip greit parasiau :D

Redagavo ex-it· 2008 Gru. 1 21:12:10

Parašė NxS· 2008 Gru. 1 21:12:20
#7

Parasiau sita panelese:

openside("Panelė");
if(iMEMBER) {
echo "<a href='http://infinity.wu.lt/infusions/pateikti_daina/pateikti_daina.php'>Pateikti MP3</a>";
} else {
echo "Pateikti MP3";
}
clostable();




o gaunu sita:

Parse error: syntax error, unexpected '<' in /home/*****/domains/infinity.wu.lt/public_html/administration/panel_editor.php(111) : eval()'d code on line 3



Redagavo NxS· 2008 Gru. 1 21:12:33

Parašė sniuff· 2008 Gru. 1 21:12:18
#8

openside("Panelė");
if(iMEMBER) {
echo "<a href='http://infinity.wu.lt/infusions/pateikti_daina/pateikti_daina.php'>Pateikti MP3</a>";
} else {
echo "Pateikti MP3";
}
closetable();




O aš tokios klaidos negaunu tik closetable buvau blogai parašęs.

Parašė NxS· 2008 Gru. 1 21:12:19
#9

jo as ir nebegaunu neatkreipiau demesio i closetable dekuj

Parašė ex-it· 2008 Gru. 1 21:12:11
#10

Klaida sniuffai :) paziurek gi openside("Panelė");
ir paskui closetable();. Pavarom :D

Parašė NxS· 2008 Gru. 1 21:12:40
#11

ech susiduriau su nauja problema noriu pritaikyti navigacijai bet error vien del tu

?>
<?


nu nebezinau cia


openside("Navigacija");
?>
<img src='http://infinity.wu.lt/images/Pagrindinis.png'><br>

<img src='http://infinity.wu.lt/images/Namai.png'><a href='http://infinity.wu.lt/index.php' target=''>Namai</a><br>
<img src='http://infinity.wu.lt/images/Kontaktai.png'><a href='http://infinity.wu.lt/contact.php' target=''>Kontaktai</a><br>
<img src='http://infinity.wu.lt/images/reklama.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=1'target=''>Reklama</a><br>
<img src='http://infinity.wu.lt/images/Forumas.png'><a href='http://infinity.wu.lt/forum/index.php' target=''>Forumas</a><br>
<img src='http://infinity.wu.lt/images/DUK.png'><a href='http://www.infinity.wu.lt/faq.php' target=''>Pagalba</a><br>
<img src='http://infinity.wu.lt/images/Atsakomybe.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=2' target=''><b>Atsakomybė</b></a><br>

<img src='http://www.infinity.wu.lt/images/Siuntiniai.png' style='' align=''><br>
<img src='http://infinity.wu.lt/images/Muzika.png'><a href='http://www.infinity.wu.lt/downloads.php' target=''>Muzikai</a><br>
<img src='http://infinity.wu.lt/images/Albumai.png'><a href='http://infinity.wu.lt/news_cats.php?cat_id=17' target=''>Albumai</a><br>
<img src='http://infinity.wu.lt/images/Klipai.png'><a href='http://infinity.wu.lt/news_cats.php?cat_id=18' target=''>Klipai</a><br>

<img src='http://infinity.wu.lt/images/Pramogos.png' style='' align=''><br>
<img src='http://infinity.wu.lt/images/zaidimai.png'><a href='http://infinity.wu.lt/articles.php?cat_id=1' target=''>Flash Žaidimai</a>
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''><br>
<img src='http://infinity.wu.lt/images/foto.png'><a href=' http://infinity.wu.lt/photogalle...
' target=''>FOTO Albumai
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''></a><br>

<img src='http://infinity.wu.lt/images/Nariams.png' style='' align=''><br>

<img src='http://infinity.wu.lt/images/Pateikti.png'>

if(iMEMBER) {
echo "<a href='http://infinity.wu.lt/infusions/pateikti_daina/pateikti_daina.php'>Pateikti MP3</a>";
} else {
echo "Pateikti MP3";
}


<br>
<img src='http://infinity.wu.lt/images/paprasyk.png'><a href='http://infinity.wu.lt/infusions/suggestion_box/suggestion_box.php' target=''>Paprašyk MP3
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''></a><br>
<img src='http://infinity.wu.lt/images/foto.png'><a href=' http://www.infinity.wu.lt/submit...ype=p' target=''><b>Pateikti FOTO</b>
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''></a><br>

<img src='http://infinity.wu.lt/images/Topai.png' style='' align=''><br>
<img src='http://infinity.wu.lt/images/TOP.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=5' target=''>TOP 100</a><br>

<img src='http://infinity.wu.lt/images/NEW.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=4' target=''>NEW 100</a><br>

</center>


<?
closeside();



Redagavo NxS· 2008 Gru. 1 21:12:11

Parašė ex-it· 2008 Gru. 1 21:12:52
#12

Ka tu cia ximycini :D
Isjunk smiles

Redagavo ex-it· 2008 Gru. 1 21:12:14

Parašė ex-it· 2008 Gru. 1 21:12:35
#13

openside("Navigacija");
?>
<img src='http://infinity.wu.lt/images/Pagrindinis.png'><br>

<img src='http://infinity.wu.lt/images/Namai.png'><a href='http://infinity.wu.lt/index.php' target=''>Namai</a><br>
<img src='http://infinity.wu.lt/images/Kontaktai.png'><a href='http://infinity.wu.lt/contact.php' target=''>Kontaktai</a><br>
<img src='http://infinity.wu.lt/images/reklama.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=1'target=''>Reklama</a><br>
<img src='http://infinity.wu.lt/images/Forumas.png'><a href='http://infinity.wu.lt/forum/index.php' target=''>Forumas</a><br>
<img src='http://infinity.wu.lt/images/DUK.png'><a href='http://www.infinity.wu.lt/faq.php' target=''>Pagalba</a><br>
<img src='http://infinity.wu.lt/images/Atsakomybe.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=2' target=''><b>Atsakomybė</b></a><br>

<img src='http://www.infinity.wu.lt/images/Siuntiniai.png' style='' align=''><br>
<img src='http://infinity.wu.lt/images/Muzika.png'><a href='http://www.infinity.wu.lt/downloads.php' target=''>Muzikai</a><br>
<img src='http://infinity.wu.lt/images/Albumai.png'><a href='http://infinity.wu.lt/news_cats.php?cat_id=17' target=''>Albumai</a><br>
<img src='http://infinity.wu.lt/images/Klipai.png'><a href='http://infinity.wu.lt/news_cats.php?cat_id=18' target=''>Klipai</a><br>

<img src='http://infinity.wu.lt/images/Pramogos.png' style='' align=''><br>
<img src='http://infinity.wu.lt/images/zaidimai.png'><a href='http://infinity.wu.lt/articles.php?cat_id=1' target=''>Flash Žaidimai</a>
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''><br>
<img src='http://infinity.wu.lt/images/foto.png'><a href=' http://infinity.wu.lt/photogalle...
' target=''>FOTO Albumai
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''></a><br>

<img src='http://infinity.wu.lt/images/Nariams.png' style='' align=''><br>

<img src='http://infinity.wu.lt/images/Pateikti.png'><?

if(iMEMBER) {
echo "<a href='http://infinity.wu.lt/infusions/pateikti_daina/pateikti_daina.php'>Pateikti MP3</a>";
} else {
echo "Pateikti MP3";
}

?><br>
<img src='http://infinity.wu.lt/images/paprasyk.png'><a href='http://infinity.wu.lt/infusions/suggestion_box/suggestion_box.php' target=''>Paprašyk MP3
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''></a><br>
<img src='http://infinity.wu.lt/images/foto.png'><a href=' http://www.infinity.wu.lt/submit... target=''><b>Pateikti FOTO</b>
<img src='http://infinity.wu.lt/images/new.gif' style='' align=''></a><br>

<img src='http://infinity.wu.lt/images/Topai.png' style='' align=''><br>
<img src='http://infinity.wu.lt/images/TOP.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=5' target=''>TOP 100</a><br>

<img src='http://infinity.wu.lt/images/NEW.png'><a href='http://www.infinity.wu.lt/viewpage.php?page_id=4' target=''>NEW 100</a><br>

</center>


<?
closeside();





megink :)

Redagavo ex-it· 2008 Gru. 1 21:12:12

Parašė NxS· 2008 Gru. 1 21:12:37
#14

Perfect dekui ;)