I want a freelancer to edit site title showing on a script!!

Discussion in 'Programming' started by bass, Sep 1, 2010.

  1. #1
    I would like to hire some freelancer to edit this with the original code:

    <title><?
    if ($_GET['searchparameterdata']==""){echo ''.str_replace("_"," ", $kquery).' #  '.$sitename.' ';}
    else {echo $_GET['searchparameterdata'].' Page '.$_GET['page'].' | '.$sitename;}
    </title>
    Code (markup):
    with the original it will show site title on index page to "# sitename".

    But i want to hire some freelancer to add a new line for seperate and call with different results such as:

    Index Page to show "sitename" only

    Keyword Page to show "keyword - sitename" only

    and other show with "else {echo $_GET['searchparameterdata'].' Page '.$_GET['page'].' | '.$sitename;}"


    If you are interesed, please pm to detail
     
    bass, Sep 1, 2010 IP
  2. zappak

    zappak Active Member

    Messages:
    366
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    hey..

    it's required if condition I guess
     
    zappak, Sep 2, 2010 IP
  3. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #3
    I don't know the structure of your file but maybe something like this...
    Its easier when I know the structure of the file!


    
    <title>
    <?PHP
    if(!$_GET['searchparameterdata']) {
          echo $sitename;
    } elseif($_GET['searchparameterdata']=="") { 
          echo ''.str_replace("_"," ", $kquery).' #  '.$sitename.' ';
    } else {
          echo $_GET['searchparameterdata'].' Page '.$_GET['page'].' | '.$sitename;
    }
    ?>
    </title>
    
    PHP:
    With more information I can be sure :)
     
    ryandanielt, Sep 2, 2010 IP