Jump to content

Html / Php Kubelance Help


refresheduk

Recommended Posts

I am trying to customize the program kubelance - below is the code I have used to display services / activities etc. horizontally across the page.  However I am trying to display an exact amount per line so it looks more uniformed the link to the page i am talking about can be found here-

 

http://www.refresheduk.com/eventflip/signup.php?type=provider

 

 

<tr>

            <td>{LOOP: JOBTYPE}

    IF("{JOBTYPE.parent_id}"!="0"){  {:IF} 

      IF("{JOBTYPE.catcount}"=="0"){<input type="checkbox" name="jobtype[{JOBTYPE.id}]" value="{JOBTYPE.id}" {JOBTYPE.selected}  >{JOBTYPE.title}{:IF}

    IF("{JOBTYPE.catcount}"!="0"){<br><br><strong>{JOBTYPE.title}</strong><br>{:IF}

      {/LOOP: JOBTYPE}</td>

          </tr>

 

 

Second part of the problem is this page where I am trying to achieve the same thing however the code is different.

 

<tr>

          <td>

  <table border="0" cellpadding="0" cellspacing="0">

  {LOOP: JOBTYPES}

  IF("{JOBTYPES.ctype}"=="0"){<tr><td><input name="jobtype[{JOBTYPES.id}]" type="checkbox" value="{JOBTYPES.id}"></td><td> {JOBTYPES.title}</td></tr>{:IF}

          IF("{JOBTYPES.ctype}"=="2"){<td>  <input name="jobtype[{JOBTYPES.id}]" type="checkbox" value="{JOBTYPES.id}"></td><td> {JOBTYPES.title}</td></tr>{:IF}

          IF("{JOBTYPES.ctype}"=="1"){<tr><td colspan="2"><strong>{JOBTYPES.title}</strong></td></tr>{:IF}

  {/LOOP: JOBTYPES}

  </table>

  </td>

        </tr>

        <tr>

 

 

Again I am trying to display a certain amount of items per line. 

 

If anyone has a solution to this problem I would be greatful.

 

Cheers

 

Matt Innes

Link to comment
https://forums.phpfreaks.com/topic/126444-html-php-kubelance-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.