Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • wan fadli Developer
    #162423

    Dear JA,

    I wonder how to put the This page was generated in “time” seconds at the center-bottom of my website. I found this code below, but I dont know where to put this code. Any suggestion.?

    Template : JA PORTFOLIO

    <head>

    <?php
    $starttime = explode(' ', microtime());
    $starttime = $starttime[1] + $starttime[0];
    ?>

    </head>

    <body>

    <?php
    $mtime = explode(' ', microtime());
    $totaltime = $mtime[0] + $mtime[1] - $starttime;
    printf('[ This page was generated in %.3f seconds ]', $totaltime);
    ?>

    </body>

    chavan Friend
    #385192

    Add the below code at the start of this File templatesja_portfolioblocksheader.php


    <?php
    $starttime = explode(' ', microtime());
    $starttime = $starttime[1] + $starttime[0];
    ?>

    Add the below code at the end of this File templatesja_portfolioblocksfooter.php


    <?php
    $mtime = explode(' ', microtime());
    $totaltime = $mtime[0] + $mtime[1] - $starttime;
    printf('[ This page was generated in %.3f seconds ]', $totaltime);
    ?>

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  chavan 13 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum