Find Jobs
Hire Freelancers

Convert PHP with HTML to Smarty

$2-10 USD / hour

Cancelled
Posted almost 13 years ago

$2-10 USD / hour

Hello, **I am currently building a system and at the moment it is fully functional! but the php files have MIXED PHP and HTML, i need to make changes to all the files and to make my job easier i need you to remove the HTML and put it in TPL files - and ensuring the same functionality remains. You should know how Smarty works, how to assign arrays! I have over 40 files that needs converting, i want to you do ONLY 5 PHP files, i will be getting many coders to do 5 files each so that is it done quicker! Doing the 5 files will not take you any longer then 1 hour. So i am paying up to $10 an hour for your time! You should be fast! and fully capable coder with Smarty. If this takes you longer then 1 hour then you are working slow or doing it wrong! I had to repost this, because people thought that was your required to do all files, you are not you are only doing 5 files that i assign you with, once i accept you. You should know how smarty works, you should know how to assign arrays and display them in TPL files.** Goto here: <[login to view URL]> Just as an example of 1 PHP file. The [login to view URL] (Ignore the header and footer, i have already converted those! The HTML for the Login BOX is in the PHP file. You copy the HTML and paste it into a TPL file and remove it from the php file! Attached, is an example of doing that login page, in Step by Step instructions. Open the PHP file and take out ALL html code and put into a TPL file. The filename must be the same name as the function within the PHP file. TPL's are uploaded to templates/_admin/modules/YOUR FOLDER! It will take you about 10 minutes to convert 1 PHP file. This is fast work, and a easy 10 rating! You will tell me your price for 1 HOUR to convert 5 PHP files that i will assign you with! - Lower you hourly price, the better chance you will win! I need multiple coders! Should take you no more the 1 hour to complete 5 files, and only bid if you know how Smarty works and functions. Thanks ## Deliverables ** 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 accept your work and rate you! **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.
Project ID: 3404262

About the project

Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED KINGDOM
Leeds, United Kingdom
5.0
219
Payment method verified
Member since Jul 6, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.