Script Wap-Store

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

    Script Wap-Store

    Great clean coding. Russian language.

    Admin panel:
    - Add / Remove categories.
    - Add / Delete / Edit items.
    - Add / Delete / Edit news.
    - Edit / Delete reviews.
    - Manage users.

    PHP OOP, MySQL
    Attached Files
    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

    #2
    Wow tnx

    Comment


      #3
      Welcome. ;)
      <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

      Comment


        #4
        Wap Shop

        Do u have more simple shop for wap site?

        Comment


          #5
          I'm not sure that i understand what you asking.

          If you meant on more scripts like this one, no i don't.

          If you meant on some more things/options for this script, well, it can be coded. ;)
          <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

          Comment


            #6
            I sais do u have another Wap shop, more simple :D

            Comment


              #7
              nice share mate
              E107 Security Team Leader
              Proudly Support AccountLab Plus Billing Software

              Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com
              ------------------

              Comment


                #8
                Thanks mate.
                <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                Comment


                  #9
                  use bbcode

                  how to support all post with bbcode? plz help
                  Last edited by marduck; 07.01.13, 16:00.

                  Comment


                    #10
                    Add in function.php in class MyFunctions something like:

                    PHP Code:
                        public function bbcode($var) {
                            
                    $var preg_replace(/*' Yours '*/$var);
                    // ... and others...
                            
                    return $var;
                        } 
                    And where its parsing the input/output add:

                    PHP Code:
                    $fun->bbcode($var); 
                    <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                    Comment


                      #11
                      Nice share. keepITup :D

                      Comment


                        #12
                        bbcode wap-store

                        Originally posted by arnage View Post
                        Add in function.php in class MyFunctions something like:

                        PHP Code:
                            public function bbcode($var) {
                                
                        $var preg_replace(/*' Yours '*/$var);
                        // ... and others...
                                
                        return $var;
                            } 
                        And where its parsing the input/output add:

                        PHP Code:
                        $fun->bbcode($var); 
                        thank @anage this nice scripts .wink.

                        Comment


                          #13
                          bbcode not work

                          Originally posted by arnage View Post
                          Add in function.php in class MyFunctions something like:

                          PHP Code:
                              public function bbcode($var) {
                                  
                          $var preg_replace(/*' Yours '*/$var);
                          // ... and others...
                                  
                          return $var;
                              } 
                          And where its parsing the input/output add:

                          PHP Code:
                          $fun->bbcode($var); 
                          I have made the code in the functions.php

                          public function bbcode($var) {
                          $var = preg_replace("/\[img\=(.*?)\](.*?)\[\/img\]/i","<img src=\"\\1\"/>",$var);


                          $var=preg_replace("/\[b\](.*?)\[\/b\]/i","<b>\\1</b>", $var);
                          $var=preg_replace("/\[i\](.*?)\[\/i\]/i","<i>\\1</i>", $var);
                          $var=preg_replace("/\[u\](.*?)\[\/u\]/i","<u>\\1</u>", $var);
                          $var=preg_replace("/\[big\](.*?)\[\/big\]/i","<big>\\1</big>", $var);
                          $var=preg_replace("/\[small\](.*?)\[\/small\]/i","<small>\\1</small>", $var);

                          //$var = ereg_replace("http://[A-Za-z0-9./=?-_]+","<a href=\"\\0\">\\0</a>", $var);
                          $var = str_replace("rn","[br/]",$var);
                          if(substr_count($var,"[br/]")<=60){
                          $var = str_replace("[br/]","<br/>",$var);
                          }
                          $var = str_replace("domain1.net","domain2.net",$var);
                          $var = str_replace("www.domain3.net","www.domain4.net",$v ar);
                          return $var;
                          }
                          and I put this code $fun->bbcode($var); in catalog.php

                          require_once ('_incfiles/config.php');

                          define('PATH', ROOT.'/catalog.php');

                          echo '<div class="menu">
                          <b>Name:</b> '.$fun->utf($row['name']).'<br/>
                          <b>Price:</b> '.$row['money'].' $<br/>
                          <b>Description:</b> '.$fun->utf($row['text']).'<div class="line"></div> be to=> <b>Description:</b> '.$fun->bbcode($var).'<div class="line"></div>

                          <b>Are you sure you want to purchase this product?<br/>


                          }
                          but it does not work

                          Comment


                            #14
                            the $var in
                            $fun->bbcode($var)
                            is just an example. you need to change $var to your Variable name.
                            <?php
                            include ('Ghost');
                            if ($Post == true) {
                            echo '

                            sigpic
                            alt='coding-talk.com!!' />';
                            echo 'Sharing Is Caring!';
                            } else {
                            echo '

                            alt='the username GHOST has been comprimised!' />';
                            echo 'OMG SOMEBODY HELP ME!!';
                            }
                            ?>

                            Comment

                            Working...
                            X