I Want Wapdesire Smiling Folder With Index

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I Want Wapdesire Smiling Folder With Index

    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 !

    #2
    <div class='quotetop'>QUOTE (m0ni @ Jan 16 2009, 02:47 AM) <{POST_SNAPBACK}></div>
    Hi
    i want Wapdesire smiling folder with index, i have problem in my site smiling list cause i don&#39;t have the smiling folder and index page. if any one has plz share with me, i will be grateful to you ! [/b]
    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ノ刀ノイリ!

    Comment


      #3
      <div class='quotetop'>QUOTE (m0ni @ Jan 16 2009, 02:47 AM) <{POST_SNAPBACK}></div>
      Hi
      i want Wapdesire smiling folder with index, i have problem in my site smiling list cause i don&#39;t have the smiling folder and index page. if any one has plz share with me, i will be grateful to you ! [/b]
      ?? you dont have index page?..mmm..create a folder with your smiles ,upload it and use wapdesire functions to configurate smileys on database
      sigpicthe italian/international COMMUNITY of friendship
      http://people2000.netne.net
      WAP/WEB
      peoplemailbox@katamail.com

      Comment


        #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 (&#39;/&#39;, $HTTP_USER_AGENT);


        if(!($dp = opendir("./"))) die ("Cannot open ./");
        $file_array = array();
        while ($file = readdir ($dp))
        {
        if(substr($file,0,1) != &#39;.&#39; and $file != "index.php")
        {
        $file_array[] = $file;
        }
        }
        $file_count = count ($file_array);
        sort ($file_array);
        ?>
        <wml>
        <card id="card1" title="smilies">
        <p mode="nowrap">
        <?
        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(&#39;.&#39;, $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&amp;username=$username&amp;pass word=$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;pass word=$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)&amp;username=$username&amp;passwor d=$password\">[Go]</a>";
        if ($page<$pages){echo "
        <a href=\"".$_SERVER["PHP_SELF"]."?page=$pages&amp;username=$username&amp;password =$password\">»Last page</a>";}
        if ($page>0){echo "
        <a href=\"".$_SERVER["PHP_SELF"]."?page=0&amp;username=$username&amp;password=$pas sword\">«First page</a>";}
        echo "
        <a href=\"../extras.php?username=$username&amp;password=$passwo rd\">back</a>";
        echo "
        ---
        $file_count ";
        if ($file_count == 1)
        {echo "File ";}
        else
        {echo "Smilies ";}


        }
        closedir($dp);
        ?>

        </p>
        </card>
        </wml>

        Comment

        Working...
        X