Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Looking for documentation

Asked Modified Viewed 2,439 times
F
fuzzylr
F
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Junior Member

If I were looking for how to write a couple of pages for for a custom site. Where would I look for being able to do so?

sean
0 replies

9 posts

G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

I don't quite understand what you're asking.. But if you want to make a custom page, you use this code:

pagename.php

<?php

require_once "maincore.php";
require_once "subheader.php";
require_once "side_left.php";

opentable("Title here");

// your content, if you want to write
//something, use an echo statement.

closetable();

require_once "side_right.php";
require_once "footer.php";

?>

Sorry if that's a little messed up; I base in PHPFusion v7, and I don't have access to v6 right now.
Edited by googlebot on 07-08-2008 06:17,
0 replies
F
fuzzylr
F
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Ok...mind the mess..but here is what I've done so far. I want to list a bunch of images in a table as to show all the companies I can buy parts from. However, when i convert it to to php it won't show. I need some help.

<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";
require_once "subheader.php";
require_once "side_left.php";

opentable("Performance Parts");


echo "<table align='center' cellpadding='5'>\n";
echo "<tr>\n <th width='620' align='center'><font size='6'><b>Manufactures List</b></font></th>\n </tr>\n </table>\n";

echo "<table align='center'> <tr>\n";
echo "<td><img src='logos/act.jpg'></td>\n";
echo "<td><img src='logos/aem.jpg'></td>\n";
echo "<td><img src='logos/apexi.jpg'></td>\n";
echo "<td><img src='logos/arias.jpg'></td>\n";
echo "<td><img src='logos/arp.jpg'></td>\n";
echo "<td><img src='logos/autometer.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/avid.jpg'></td>\n";
echo "<td><img src='logos/b&m.jpg'></td>\n";
echo "<td><img src='logos/bc.jpg'></td>\n";
echo "<td><img src='logos/borbeau.jpg'></td>\n";
echo "<td><img src='logos/brembo.jpg'></td>\n";
echo "<td><img src='logos/bride.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/buddyclub.jpg'></td>\n";
echo "<td><img src='logos/cc.jpg'></td>\n";
echo "<td><img src='logos/clevite77.jpg'></td>\n";
echo "<td><img src='logos/cm.jpg'></td>\n";
echo "<td><img src='logos/cometic.jpg'></td>\n";
echo "<td><img src='logos/cosworth.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/cp pistons.jpg'></td>\n";
echo "<td><img src='logos/cusco.jpg'></td>\n";
echo "<td><img src='logos/dart.jpg'></td>\n";
echo "<td><img src='logos/dcsport.jpg'></td>\n";
echo "<td><img src='logos/driveshaftshop.jpg'></td>\n";
echo "<td><img src='logos/eagle.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/Edelbrock.jpg'></td>\n";
echo "<td><img src='logos/eibach.jpg'></td>\n";
echo "<td><img src='logos/EnergySus.jpg'></td>\n";
echo "<td><img src='logos/enkei.jpg'></td>\n";
echo "<td><img src='logos/exedy.jpg'></td>\n";
echo "<td><img src='logos/fidanza.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/garrett.jpg'></td>\n";
echo "<td><img src='logos/greddy.jpg'></td>\n";
echo "<td><img src='logos/groundcontrol.jpg'></td>\n";
echo "<td><img src='logos/hasport.jpg'></td>\n";
echo "<td><img src='logos/hawk.jpg'></td>\n";
echo "<td><img src='logos/hid.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/hks.jpg'></td>\n";
echo "<td><img src='logos/hondata.jpg'></td>\n";
echo "<td><img src='logos/ingalls.jpg'></td>\n";
echo "<td><img src='logos/injen.jpg'></td>\n";
echo "<td><img src='logos/je.jpg'></td>\n";
echo "<td><img src='logos/jic.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/K&N.jpg'></td>\n";
echo "<td><img src='logos/koni.jpg'></td>\n";
echo "<td><img src='logos/koyo.jpg'></td>\n";
echo "<td><img src='logos/Ksport.jpg'></td>\n";
echo "<td><img src='logos/magnaflow.jpg'></td>\n";
echo "<td><img src='logos/manecor.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/megan.jpg'></td>\n";
echo "<td><img src='logos/moroso.jpg'></td>\n";
echo "<td><img src='logos/motul.jpg'></td>\n";
echo "<td><img src='logos/msd.jpg'></td>\n";
echo "<td><img src='logos/Neuspeed.jpg'></td>\n";
echo "<td><img src='logos/ngk.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/nx.jpg'></td>\n";
echo "<td><img src='logos/piaa.jpg'></td>\n";
echo "<td><img src='logos/powerslot.jpg'></td>\n";
echo "<td><img src='logos/precision.jpg'></td>\n";
echo "<td><img src='logos/prothane.jpg'></td>\n";
echo "<td><img src='logos/rc.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/recaro.jpg'></td>\n";
echo "<td><img src='logos/redline.jpg'></td>\n";
echo "<td><img src='logos/rota.jpg'></td>\n";
echo "<td><img src='logos/royalpurple.jpg'></td>\n";
echo "<td><img src='logos/russell.jpg'></td>\n";
echo "<td><img src='logos/sard.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/skunk2.jpg'></td>\n";
echo "<td><img src='logos/sparco.jpg'></td>\n";
echo "<td><img src='logos/spec.jpg'></td>\n";
echo "<td><img src='logos/srp.jpg'></td>\n";
echo "<td><img src='logos/stri.jpg'></td>\n";
echo "<td><img src='logos/sustech.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/tanabe.jpg'></td>\n";
echo "<td><img src='logos/thermal.jpg'></td>\n";
echo "<td><img src='logos/tial.jpg'></td>\n";
echo "<td><img src='logos/tien.jpg'></td>\n";
echo "<td><img src='logos/tokico.jpg'></td>\n";
echo "<td><img src='logos/tomei.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/turbonetics.jpg'></td>\n";
echo "<td><img src='logos/turboxs.jpg'></td>\n";
echo "<td><img src='logos/ueostyle.jpg'></td>\n";
echo "<td><img src='logos/vibrant.jpg'></td>\n";
echo "<td><img src='logos/volk.jpg'></td>\n";
echo "<td><img src='logos/walbro.jpg'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td><img src='logos/zex.jpg'></td>\n";
echo "</tr>\n";
echo "</table>\n";
closetable();

require_once "side_right.php";
require_once "footer.php";

?>
Edited by Falk on 10-08-2008 13:56,
0 replies
F
fuzzylr
F
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

And apparently I've ****ed off the forums...LoL, I'm doing this I believe in V7. I'll give you a link to the site.
http://www.projv.net:8080/oxm/news.php
Edited by fuzzylr on 10-08-2008 03:00,
0 replies
F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

There was a tiny error, i've fixed it in the above post.
0 replies
F
fuzzylr
F
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Digitanium wrote:
There was a tiny error, i've fixed it in the above post.


Yes but did this fix my issue with the page not displaying??
0 replies
F
fuzzylr
F
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Ok...I'm using this in my portal and I can't get it to display. Does anyone have clues as to why I can't get this custom page to work? I don't need any special persmission. They will pages open to the public.

<?php
require_once "maincore.php";
require_once THEMES."templates/header.php";

opentable("oemparts");


closetable();

require_once THEMES."templates/footer.php";
?>
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

@fuzzylr, make sure the file is in the home directory. And are you getting any errors?
Edited by googlebot on 10-08-2008 22:51,
0 replies
F
fuzzylr
F
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

googlebot wrote:
@fuzzylr, make sure the file is in the home directory. And are you getting any errors?


That worked like a charm...Much thanks.
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

fuzzylr wrote:

Quote

googlebot wrote:
@fuzzylr, make sure the file is in the home directory. And are you getting any errors?


That worked like a charm...Much thanks.

If you want to put it in a higher directory, for each directory up, add a ../ before maincore.php"; in

require_once "maincore.php";

For example, if you wanted to put it in /stuff/1 then you'd use the following:

require_once "../../maincore.php";
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet