| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Inserting php code into x-cart pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi guys,
I have the amember subscription software for use with subscription services that I want to use along side my standard products. Im wondering how to add the php from the amember php code into a new php file that sits on the speed bar. For example, I could create a new php file called 'subscriptions' and add it there so that clients can login to their subscription service and access their secure folders. the login for amember is: if ($au=$_SESSION['_amember_user']){ // user is logged-in print "Hello $au[name_f] $au[name_l]!<br>"; print "<a href='/amember/logout.php'>Logout</a>"; } else { // user is not logged-in print "<form method=post action='/amember/login.php'> Username: <input type=text name=amember_login size=10><br> Password: <input type=password name=amember_pass size=10><br> <input type=submit value='Login'> </form>"; } which I would like to appear in the middle of the x-cart page so that it retains the columns I have as part of my skin but Im not sure how to do this. I looked at help.php and that looked pretty simple enough, but the login fields only pop up at the top left of the page and not integrated into the website look and feel. So, how do I add a new php page that opens in the middle of my store's page? Thanks
__________________
X-Cart 4.1.11 on Linux HandsOnWebHosting: Very helpful & professional Custom Skin Design by ARS. Numerous, ney, hundreds of modifications by ARS. AlteredCart: Download Expander, One Page Checkout, BCS Engineering: Great team, Top service. WebsiteCM: good products & very professional CDSEO, Hidden Categories, Custom Work Magnetic One Store Manager: Brill Forms To Go: Excellent+A+support |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() no takers?
__________________
X-Cart 4.1.11 on Linux HandsOnWebHosting: Very helpful & professional Custom Skin Design by ARS. Numerous, ney, hundreds of modifications by ARS. AlteredCart: Download Expander, One Page Checkout, BCS Engineering: Great team, Top service. WebsiteCM: good products & very professional CDSEO, Hidden Categories, Custom Work Magnetic One Store Manager: Brill Forms To Go: Excellent+A+support |
|||||||||
|
|||
X-Cart forums © 2001-2020
|