how could i modify combine php(template.php) into html
dear sir:
* *i have a problem into my template.php, i want to combine this file into
my website html template, but it always appear the result on the footer!
i don't know how to modify~is any one can help me to modify it?
please see the template as this link: http://www.kdan.com.tw/KDAN/whois/whois-question.jpg
template.php as template, please help me to modify it! thank you!
-----------------------------------------------------------------------------------------------
new question!
dear sir:
i have follow ur direction to edit my template , it was successful to combine the result in website, but it have another problem, when i combine it and use the fresh one(template.php), my website can appear tradtional chinese fine, but result appear stranger code, what happen with it?
cause i use big5, does i need to change something within my template.php?
cause template.php that i use in UTF-8...
please see the result in attachment! thank you!
Re: how could i modify combine php(template.php) into html
You really messed up.
Step 1:
Replace template.php with a fresh one (an unmodified version). Remember to chmod 666 the new file.
Step 2:
Create two new files called "header.php" and "footer.php". In the "header.php" file, put the first part of your website (the first half of your HTML, everything that comes before the whois script). In the "footer.php" file, put the second part of your website (the second half of your HTML, everything that comes after the whois script).
Step 3:
Upload the two new files (header.php and footer.php) to somewhere on your website.
Step 4:
Go to the "Edit Templates" page in the EP-Dev Whois Admin Panel. Scroll down and you will see "Custom Header File" text box. In the box, put either the absolute path to your header.php file (/absolute/path/to/header.php) or put the URL to your header.php file ( http://www.example.com/header.php) . Then scroll down to "Custom Footer File" and do the same, but instead use your footer.php file. Click "Save Config" to save the configuration.
That is it. However, I would also recommend that you modify/delete anything that is in the header and footer text boxes that conflicts with your layout.