Instructions for webmasters
Step One: Choose a Layout
Our system offers two layouts to help you fit your page.
You need to pick a layout and contact us so we can set up your account.
We can associate a particular stylesheet with your agency's phone number in order to present you with the layout you need. Right now, we have two layouts available:
- Full Width A liquid layout that stretches to fill its container. It behaves very much like our website, and can be seen in the Travel Champ #1 demo.
- Narrow Fixed A fixed-width 730-pixel layout. It can be seen in the Travel Champ #2 demo.
Step Two: Contact Us
Use the form below to contact us so we can enable your account
After you submit this form, we will get back to you promptly to notify you that your account has been set up. If the phone number you supplied doesn't match the one we have on file, we will contact you to help you set up your system with the correct access number.
Step Three: creating the page.
You will need to create a multi-frame web page that will show a header and/or navigation tools for your travel agency in the top panel, and will show Sports Empire's content page in the bottom. You can format this any way you like, to accommodate your agency's existing web layout, though we suggest that the frame made to hold Sports Empires' content be full-width in order to accommodate our layout. The HTML code used in the simple Travel Champ example is shown below.
<frameset rows="120,*" > <frame src="top.html" name="Top_Title" frameborder="yes" title="Top Title"> <frame src=" -- embedding URL goes here -- "> </frameset>
The code listed above creates a page with two frames, the top one a 120-pixel high frame for your own header and buttons, and a frame filling the rest of the page to show our travel packages. The URL listed as "top.html" in the example above needs to be a page showing just your banner graphics and buttons.
You should save this simple frame page as a web page accessible on your site, like http://www.youragency.com/sports.html
Step Four: Integrating Sports Empire's Content
To put Sports Empire's content in a web frame, you need to set that frame's source to this URL:
http://www.sports-empire.com/embed/allsports.php
On its own, that will work fine. However, you can also customize the frame to show your agency's contact information, by specifying it in the URL. You can use the form below to generate a URL that will put your agency's contact information on our page.
Important Note: Your layout and your authorization are associated with your agency's phone/login number: the phone # specified as the login phone number MUST be the same as the number we have on file for you in our database. If you are not sure what that number is, please contact us!
For example, if your agency's phone number in our file is "(555) 555-1111", but you want an 800 number to appear on the page in the "Phone #" box and your agency's phone number in "Login Phone #"'
Step Five: Putting it Together
Now all you need to do is paste the URL generated by the tool above into the src="" attribute of the second frame, and link to sports.html (or whatever you called it) from somewhere on your main page. The completed sports.html used in the Travel Champ example looks like this:
<frameset rows="120,*" > <frame src="top.html" name="Top_Title" frameborder="yes" title="Top Title"> <frame src="http://www.sports-empire.com/embed/allsports.php?Name=Travel%20Champ&Addr1=100%20Main%20St&Addr2=Some%20Town,%20USA&Phone=(800)%20555-1234&Login=626-296-8378"> </frameset>
Another option: putting the integrateded content in an IFRAME
You can put our content inside an inline-frame if you need to constrain it to a certain position on your page. The Travel Champ #2 example uses the fixed-width version of our page inside a 750-pixel wide IFRAME in order to center the content on the page along with the rest of the layout. The code for that page looks like this:
... rest of page above ... <iframe width="750" height="650" src="http://www.sports-empire.com/embed/allsports.php?Name=Travel%20Champ&Addr1=100%20Main%20St&Addr2=Some%20Town,%20USA&Phone=1-800-555-1235&Login=1-800-555-1235"> </iframe> ... rest of page below ...
Please let us know if you're having trouble working with the system, since we are still developing it and want to improve it wherever possible.
Step Six (optional): Picking the landing page for your site
You can also set up the embed system to start on one of the sport-specific pages. You can do this by the way you write the URL. For example, where the URL to go to the universal front page begins like this (for the fake example agency "Travel Champ"):
http://www.sports-empire.com/embed/allsports.php?Name=Travel%20Champ&Addr1=100%20Main%20St&Addr2=Some%20Town,%20USA&Phone=(800)%20555-1234&Login=626-296-8378
The link to go to the horse racing page looks like this:
http://www.sports-empire.com/embed/packagelist.php?Sport=Horseracing&Name=Travel%20Champ&Addr1=100%20Main%20St&Addr2=Some%20Town,%20USA&Phone=(800)%20555-1234&Login=626-296-8378
The key differences are the file (packagelist.php vs allsports.php) and the sport specified as a variable. The "Travel Champ" website has examples of this set up for all our sports. Go to the Travel Champ home page and visit the links on the left; there's one for each sport. If you visit those links and view the source code of the resulting page, you'll see how to set up the page for each sport.