Title In Chatzone Room

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Title In Chatzone Room

    hello frnds i want t change header tis form room-12:00:00 to dis room-2 i mean how much member r in room it show on header plz give it to me plz check the code n change it thnx and its chatzone script

    if($mod=="privat")
    print &#39;<card id="main" title="&#39;.$settings[&#39;val2&#39;].&#39;&#39;.$privates[&#39;val2&#39;].&#39;-&#39;.$show_time.&#39;" ontimer="room.php?id=&#39;.$id.&#39;&amp;pass=&#39 ;.$pass.&#39;&amp;room=&#39;.$room.&#39;&amp;mod=$ mod&amp;r=&#39;.$r.&#39;"><timer value="&#39;.$time_update.&#39;"/>&#39;;
    else
    print &#39;<card id="main" title="&#39;.$settings[&#39;val2&#39;].&#39;&#39;.$privates[&#39;val2&#39;].&#39;-&#39;.$show_time.&#39;" ontimer="room.php?id=&#39;.$id.&#39;&amp;pass=&#39 ;.$pass.&#39;&amp;room=&#39;.$room.&#39;&amp;r=&#3 9;.$r.&#39;"><timer value="&#39;.$time_update.&#39;"/>&#39;;

    #2
    hello frnds i want t change header tis form room-12:00:00 to dis room-2 i mean how much member r in room it show on header plz give it to me plz check the code n change it thnx and its chatzone script

    if($mod=="privat")
    print &#39;<card id="main" title="&#39;.$settings[&#39;val2&#39;].&#39;&#39;.$privates[&#39;val2&#39;].&#39;-&#39;.$show_time.&#39;" ontimer="room.php?id=&#39;.$id.&#39;&amp;pass=&#39 ;.$pass.&#39;&amp;room=&#39;.$room.&#39;&amp;mod=$ mod&amp;r=&#39;.$r.&#39;"><timer value="&#39;.$time_update.&#39;"/>&#39;;
    else
    print &#39;<card id="main" title="&#39;.$settings[&#39;val2&#39;].&#39;&#39;.$privates[&#39;val2&#39;].&#39;-&#39;.$show_time.&#39;" ontimer="room.php?id=&#39;.$id.&#39;&amp;pass=&#39 ;.$pass.&#39;&amp;room=&#39;.$room.&#39;&amp;r=&#3 9;.$r.&#39;"><timer value="&#39;.$time_update.&#39;"/>&#39;;[/b]

    u hav to replace $show_time in card id

    Comment


      #3
      ok but wat is code

      Comment


        #4
        [quote]
        hello frnds i want t change header tis form room-12:00:00 to dis room-2 i mean how much member r in room it show on header plz give it to me plz check the code n change it thnx and its chatzone script


        ok copy and paste in your room.php and enjoy hope it will help you
        //////////////////////////////////////Here is my code////////////////////////////////////////////
        $gill = mysql_fetch_array(mysql_query("SELECT `val2`,`val1` FROM `".$px.$stable."` where var=&#39;$room&#39; AND `mod`=&#39;room&#39;"));

        $gill2 = mysql_fetch_array(mysql_query("SELECT COUNT(`id`) FROM `".$px.$utable."` WHERE ltime>&#39;".intval(time()-$offline)."&#39; AND room=&#39;$room&#39;"));
        /////////////////////////////////////////////////////////////////////////////////////////////////////

        if($mod=="privat")
        echo "<card id=\"main\" title=\"$gill[0]-($gill2[0])\" ontimer=\"room.php?id=$id&amp;pass=$pass&amp;room= $room&amp;mod=$mod&amp;r=".$r."\">

        <timer value=\"".$time_update."\"/>";

        else
        echo "<card id=\"main\" title=\"$gill[0]-($gill2[0])\" ontimer=\"room.php?id=$id&amp;pass=$pass&amp;room= $room&amp;mod=$mod&amp;r=".$r."\">

        <timer value=\"".$time_update."\"/>";
        left wap stuff

        Comment

        Working...
        X