Convert Smarty Template (.tpl) to PHP

已完成 已发布的 Jan 8, 2016 货到付款
已完成 货到付款

Hello guys,

I need an experienced developer (should be an easy job for an intermediate PHP developer) to convert a Smarty .tpl file with lots of IF, ELSE and FOREACH into a PHP one. I could do it myself, due to the lack of time, I'd rather give it to one of you and also leave you a good feedback on this site.

For example, the following code in Smarty:

{foreach from=$afp_form_fields key=afp_key item=afp_value}

{if $afp_value.chosen_active eq 1 && $afp_value.chosen_init_code neq ''}

{$afp_value.chosen_init_code}

{/if}

{/foreach}

SHOULD be in PHP:

foreach ($data['afp_form_fields'] as $afp_key => $afp_value) {

if ($afp_value['chosen_active'] == 1 && $afp_value['chosen_init_code'] != '') {

echo $afp_value['chosen_init_code'];

}

}

All the main variables such as $afp_form_fields should be equal with $data['afp_form_fields']

Other example:

{if $c.js_realtime_validator eq '1'}

// code here

{/if}

becomes

if ($data['c']['js_realtime_validator'] == 1) {

// code here

}

If you've worked with Smarty before, this should be piece of cake. I'm looking for a responsive and meticulous developer. This is an easy task for someone familiar with Smarty or other template engine. But you have to take your time and make sure that you are careful not typing the wrong variables or making spelling mistake.

If you haven't worked with a template engine before (ideally Smarty), please don't waste my time nor yours :). I need a professional that knows what he's doing. Note that the code must be also indented (not just written in a hurry for the sake of writing it).

PS: If the job is done without any problems, I would be happy to give you a few other templates to convert.

Regards,

Gabriel

PHP Smarty PHP

项目ID: #9263337

关于项目

7个方案 远程项目 活跃的Jan 8, 2016

授予:

Yknox

Hello I'm interesting your project very well I'm a excellent programmer using php(smarty) I m quite well experienced in these jobs. after u sent me project details, we can discuss more details(budget, etc...) Let' 更多

$100 USD 在1天内
(133条评论)
6.8

有7名威客正在参与此工作的竞标,均价$75/小时

rinsadsl

Hello Good Day I have worked a lot with Smarty. I can convert your tpl file to a php file. Looking forward to work with you. Thanks Rinsad

$64 USD 在2天内
(600条评论)
8.0
vishsoftware

We are 20+ people in team having more than 12 years experiences with web development. We are running our small company . Just give us chance you will be happy with our services.

$77USD 在1天里
(20条评论)
5.4
gojukan108

I have experience in smarty and other templating engines. Having worked with smarty as well as systems built on the smarty template process. I am sure I will be able to complete this job for you with no issues.

$88 USD 在4天内
(0条评论)
0.0
Strelina

A proposal has not yet been provided

$66USD 在1天里
(0条评论)
0.0