Jump to content

Strider

Members
  • Posts

    1824
  • Joined

  • Last visited

  • Days Won

    53

Posts posted by Strider

  1. <?php
    $fieldvalue = "PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID');
    if($fieldvalue != '')
    {
       echo '<a href="http://www.vataware.com/pilot.cfm?cid='.$fieldvalue.'  target="_blank"<img src="'.SITE_URL.'/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>'";
    }

    Still not working.

    Cheers

    Dan C

  2. <?php
    $fieldvalue = $pilot;
    if($fieldvalue != 'VATSIM_ID')
    // <a href="http://www.vataware.com/pilot.cfm?cid=<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); target="_blank"?><img src="<?php echo SITE_URL ?>/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>

    there you go nabeel.

    Cheers

    Dan C

  3. <?php
    $fieldvalue = 0;
    if($fieldvalue != '')
    //<a href="http://www.vataware.com/pilot.cfm?cid=<?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); target="_blank"?><img src="<?php echo SITE_URL ?>/lib/skins/global/images/vatsim.gif" alt="Vatsim ID" /></a>

    That is the code.

    Cheers

    Dan C

  4. Then you did it wrong, if you need to edit a template, create a new skin folder for it, that wont get updated or overwritten, if you need to edit any of the core/template files, save them into the custom skin folder, phpvms will go to them for the updated ones, and they wont be overwritten.

    Cheers

    Dan C

  5. Is there a way of getting the schedules and roster to when they get to a certain number go to a new page? So you don't have a real long list on one page? I think this would benefit a lot of VA owners too.

    Cheers

    Dan C

×
×
  • Create New...