Hello,
I am building a system. I require you to convert a my PHP files to smarty!
I will assign you with a folder. You then download that folder.
Open the PHP file and take out ALL html code and put into a TPL.
The filename must be the same name as the function within the PHP file.
TPL's are uploaded to templates/_admin/modules/YOUR FOLDER!
ALL FILES and SCRIPTS ARE FULLY FUNCTIONAL! AND MUST REMAIN THAT WAY!
You Test, You Convert, You Test!
Files should be uploaded to the server and sent to me on vworker!
Once i have verfied that your done, i will credit and rate! Simple.
**
**Attached, is an example of:
Completed PHP files and TPL files
Needs Converting PHP files and TPL files (so you can see how they are written)
It will take you about 10 minutes per PHP file, you will be given a foldier or 2, depending how many files are in there. They are generally 4-5 PHP files and requiring 5-6 TPL files.
You will do a MAX of 5 PHP files which would be 5-6 TPL's depending on the module.
This is fast work, and a easy 10 rating! $5 to $10 per 5 PHP files - Lower you bid, the better chance you will win! I need multiple coders!
Should take you no more the 1 hour to complete, and only bid if you can complete today!IMPORTANT
Thanks
***** I DO NOT NEED LINKS TO YOUR WEBSITES, THEY ARE USELESS AND MEANS NOTHING FOR THIS PROJECT (OR ANY PROJECT, BECAUSE ANYONE CAN JUST LINK STUFF! :) *****
Tell me you can do it, that you know smarty and you have read all of this information and seen attached and you have no questions! because i have covered everything!
## Deliverables
**Step by step:**
Open the PHP file.
Create a new TPL file, name it the first function you are doing
**EXAMPLE: if ($_GET['function'] == "addBlog") {
The TPL will be named: [login to view URL]
In the PHP file, change the [login to view URL] path to , ../../../[login to view URL]
Remove all - [login to view URL] includes
Remove all - [login to view URL] includes
Remove all - [login to view URL] includes
Copy out the HTML and PASTE into the TPL
In the top of the TPL paste this: {include file='_admin/[login to view URL]'}
In the bottom of the TPL paste this: {include file='_admin/[login to view URL]'}
IF the in the HTML there is like... JQuery Funtions, Javascript SRC's, keep them in the TPL --- I WILL REMOVE THEM, since i have assign those else where, and since multiple people will be working on this project, i do not what to risk in you or another over writing each others work.
For the SQL selects change them into arrays etc, you should know what do with these as you wouldn't be bidding if you do not know what or how to use smarty.... now would you?
Assign the arrays, and deplay the tpl.
$smarty->assign("blog_row",$blog_row);
$smarty->display("_admin/modules/blog/[login to view URL]");
So you know how my functions are generally named:
$_GET['function'] == "addBlog" === NEEDS TPL ([login to view URL])
$_GET['function'] == "addBlogGo" === NEEDS TPL ([login to view URL])
$_GET['function'] == "addBlogDo" === NO TPL
addBlog is the landing page, addBlogGo is viewing results, addBlogDo is processing to database.
On most pages there is a session message, this is my error reporting. In the attached you will find a php and a tpl that i have done, use the {if isset($[login to view URL])} in the new tpl.