hadisofian
username script {_$nama|} gimana supaya slalu tampil di setiap halaman yang telah di beri kode script di atas??
http://hadi.yn.lt/Biodata.html
Heriwap
hadisofian Agar berfungsi, Tiap halaman harus ada xtscript yang sama, yang di gunakan pada halaman tersebut, anda dapat memasang di _header atau _footer contoh
HALAMAN 1 HALAMAN 2 maka akan mengeluarkan nama yang sama,
hadisofian
Heriwap uda semua bro ..dia mau tampil hanya ditempat halaman yg di dipilih aja misal kan <form action="http://hadi.yn.lt"> cuma disitu aja tampilnya ..
hadisofian
Heriwap uda semua bro ..dia mau tampil hanya ditempat halaman yg di dipilih aja misal kan <form action="http://hadi.yn.lt"> cuma disitu aja tampilnya ..
Graham
hadisofian There are 3 options you either have to pass the variable to the new page in the query string of all your links
ie
<a href="/page?name={_$name|}">link</a>
or as a "hidden" input in a form
<form action="/page">
<input type="hidden" name="name" value="{_$name|}" />
<input type="submit" value="GO" />
</form>
Copy code
or use a cookie to hold the value and read it on the new page
simple cookie example
set the cookie
<!--parser:xtscript-->
get name
if $name
call cookie::set $name=name; $val=$name; $expire=999999;$force_current=1
endif
<!--/parser:xtscript-->
<form action="" method="post" >
<input name="name" />
<input type="submit" />
</form>
Copy code
And the retrieve the cookie on your other page
<!--parser:xtscript-->
var $name=call cookie::get $name=name;$default=visitor
<!--/parser:xtscript-->
Copy code
and use the special $$ xtscript variable
{_$$name|}