I Want Wapdesire Smiling Folder With Index

Started on the old forum in January 2009 · view the original in the archive · old links redirect here

3 replies · 420 views · started 17 years ago · 1 min read

3 participants
m0ni Newbie · 8 posts #1

Hi i want Wapdesire smiling folder with index, i have problem in my site smiling list cause i don't have the smiling folder and index page. if any one has plz share with me, i will be grateful to you ! 💬

metulj Super moderator Principal · 1,726 posts #2

QUOTE (m0ni @ Jan 16 2009, 02:47 AM) <{POST_SNAPBACK}>

Hi i want Wapdesire smiling folder with index, i have problem in my site smiling list cause i don't have the smiling folder and index page. if any one has plz share with me, i will be grateful to you ! 💬

you want?? ok.. and i want 1 mio euros... first of all... use REQUEST FORUM for requests..

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

honkytonkman Senior · 252 posts #3

QUOTE (m0ni @ Jan 16 2009, 02:47 AM) <{POST_SNAPBACK}>

Hi i want Wapdesire smiling folder with index, i have problem in my site smiling list cause i don't have the smiling folder and index page. if any one has plz share with me, i will be grateful to you ! 💬

?? you dont have index page?..mmm..create a folder with your smiles ,upload it and use wapdesire functions to configurate smileys on database

the italian/international COMMUNITY of friendship http://people2000.netne.net WAP/WEB peoplemailbox@katamail.com

Guest #4

ere ya go mate

<? header("Content-type: text/vnd.wap.wml"); echo "<?xml version=\"1.0\"?>";

echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""." \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

$conf["items_per_page"] = 5; if (!isset($page)) {$page = 0;} $user = explode ('/', $HTTP_USER_AGENT);

if(!($dp = opendir("./"))) die ("Cannot open ./"); $file_array = array(); while ($file = readdir ($dp)) { if(substr($file,0,1) != '.' and $file != "index.php") { $file_array[] = $file; } } $file_count = count ($file_array); sort ($file_array); ?> <wml> <card id="card1" title="smilies">

	<?		
	if ($file_count > 0)
		{
		$first_record = $page * $conf["items_per_page"];
		$last_record = $first_record + $conf["items_per_page"];
		
		while (list($fileIndexValue, $file_name) = each ($file_array))
			{
			
			if (($fileIndexValue >= $first_record) AND ($fileIndexValue < $last_record))
				{

$number=($fileIndexValue+1); $code=explode('.', $file_name); echo "$number»<img src="$file_name" alt="-$code[0]-"/>($code[0]) "; $total = $total + filesize($file_name); } }

$pages =(int) ceil($file_count / $conf["items_per_page"]); $pages = ($pages -1); if ($pages>0){ echo "--- ";} if (($file_count > 0) AND ($page != 0)) { // previous button $prev_page = $page -1; echo "<a href="".$_SERVER["PHP_SELF"]."?page=$prev_page&username=$username&password=$password">«Prev</a>"; }

		if (($file_count > 0) AND ($last_record < $file_count))
			{
			// next button
			$next_page = $page + 1;
			echo "<a href=\"".$_SERVER["PHP_SELF"]."?page=$next_page&amp;username=$username&amp;password=$password\">Next»</a>";
			}

if ($page>$pages){echo "

This page does not exist!";} if($pages>2){echo "

Jump (0-$pages/$page): ";} if($pages>2)print "<input emptyok="true" name="jump" format="*N" size="3" value="" /><a href="".$_SERVER["PHP_SELF"]."?page=$(jump)&username=$username&password=$password">[Go]</a>"; if ($page<$pages){echo " <a href="".$_SERVER["PHP_SELF"]."?page=$pages&username=$username&password=$password">»Last page</a>";} if ($page>0){echo " <a href="".$_SERVER["PHP_SELF"]."?page=0&username=$username&password=$password">«First page</a>";} echo " <a href="../extras.php?username=$username&password=$password">back</a>"; echo "

$file_count "; if ($file_count == 1) {echo "File ";} else {echo "Smilies ";}

		}
	closedir($dp);
	?>
</card> </wml>

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close