Only show egg image with promo code

Forum
Last Post
Threads / Messages
Open your adopt.php
Find
PHP:
             $article_title = "Adopting ".$type;
            $article_content = $langa1."".$type.$langa2;

            $article_content = $article_content."<br><img src='".$eggimage."' border='0'><br>
            <form name='form1' method='get' action='doadopt.php'>
              <p>Adoptable Name: 
                <input name='name' type='text' id='name'>
                <input name='id' type='hidden' id='id' value='".$id."'>
                <input name='promocode' type='hidden' id='promocode' value='".$promocode."'>
              </p>
              <p>
                <input type='submit' name='Submit' value='Adopt Me'>
            </p>
            </form>";
Replace it with
PHP:
            $article_title = "Adopting ".$type;

            $article_content = "<br><img src='".$eggimage."' border='0'><br>
            <form name='form1' method='get' action='doadopt.php'>
              <p>Adoptable Name: 
                <input name='name' type='text' id='name'>
                <input name='id' type='hidden' id='id' value='".$id."'>
                <input name='promocode' type='hidden' id='promocode' value='".$promocode."'>
              </p>
              <p>
                <input type='submit' name='Submit' value='Adopt Me'>
            </p>
            </form>";
 
So you want to show the egg image, but not the form and everything?
 
On the adopt page you see a preview of what your adopting right? I want it so you can not see the preview on the normal adopt page. However you can see a preview of the adoptable on the promo page.
 
Oh so you mean, give the users preview on the promo.php and not on the adopt.php?
If so, just remove this from the code I posted above
PHP:
<img src='".$eggimage."' border='0'>
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top