the link 

echo "<a href=\"lists.php?action=chsound&amp;ses=$ses&amp;page=1\">&#187;Chat mood</a><br/>";




add the sql.txt contain  in your database


add a new row in ibwf_users named `chsound` 






`chsound` int(100) NOT NULL default '0',
action: copy that in lists.php




else if($action=="chsound")
{
    addonline(getuid_ses($ses),"Viewing The Sound List","");
	if($mime== WEB)
	{
		echo webhead($uthm,$stitle,$sound);
   //////ALL LISTS SCRIPT <<

    if($page=="" || $page<=0)$page=1;
    $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_sounds"));
    $num_items = $noi[0]; //changable
    $items_per_page= 5;
    $num_pages = ceil($num_items/$items_per_page);
    if(($page>$num_pages)&&$page!=1)$page= $num_pages;
    $limit_start = ($page-1)*$items_per_page;

    //changable sql

        $sql = "SELECT text, sound, dscr, id FROM ibwf_moods ORDER BY id DESC LIMIT $limit_start, $items_per_page";


    echo "<p>";
    $items = mysql_query($sql);
    echo mysql_error();
    if(mysql_num_rows($items)>0)
    {
    while ($item = mysql_fetch_array($items))
   {
        echo "<a href=\"genproc.php?action=upsd&amp;ses=$ses&amp;cmid=$item[3]\">$item[0]</a> &#187; ";
        echo "<img src=\"$item[1]\" alt=\"$item[0]\"/> &#187; $item[2] <br/>";
    }
    }
    echo "</p>";
    echo "<p align=\"center\">";
    echo "<a href=\"genproc.php?action=upsd&amp;ses=$ses&amp;cmid=0\">Disable sound</a><br/><br/>";
    if($page>1)
    {
      $ppage = $page-1;
      echo "<a href=\"lists.php?action=chmood&amp;page=$ppage&amp;ses=$ses&amp;view=$view\">&#171;PREV</a> ";
    }
    if($page<$num_pages)
    {
      $npage = $page+1;
      echo "<a href=\"lists.php?action=chmood&amp;page=$npage&amp;ses=$ses&amp;view=$view\">Next&#187;</a>";
    }
    echo "<br/>$page/$num_pages<br/>";
    if($num_pages>2)
    {
        $rets = "<form action=\"lists.php\" method=\"get\">";
      $rets .= "Jump to page<input name=\"page\" format=\"*N\" size=\"3\"/>";
        $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
        $rets .= "<input type=\"hidden\" name=\"ses\" value=\"$ses\"/>";
        $rets .= "<input type=\"hidden\" name=\"who\" value=\"$who\"/>";
		$rets .= "<input type=\"submit\" value=\"GO\"/>";
        $rets .= "</form>";

        echo $rets;
    }
    echo "</p>";
  ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo "<a href=\"index.php?action=chat&amp;ses=$ses\">";
echo "Chatrooms</a><br/>";
    echo "<a href=\"index.php?action=cpanel&amp;ses=$ses\">";
echo "CPanel</a><br/>";
    echo "<a href=\"index.php?action=main&amp;ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
  echo "</p>";
		echo webfoot();

	}else{
		echo waphead($stitle,$sound);
   //////ALL LISTS SCRIPT <<

    if($page=="" || $page<=0)$page=1;
    $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_sound"));
    $num_items = $noi[0]; //changable
    $items_per_page= 5;
    $num_pages = ceil($num_items/$items_per_page);
    if(($page>$num_pages)&&$page!=1)$page= $num_pages;
    $limit_start = ($page-1)*$items_per_page;

    //changable sql

        $sql = "SELECT text, sound, dscr, id FROM ibwf_moods ORDER BY id DESC LIMIT $limit_start, $items_per_page";


    echo "<p>";
    $items = mysql_query($sql);
    echo mysql_error();
    if(mysql_num_rows($items)>0)
    {
    while ($item = mysql_fetch_array($items))
   {
        echo "<a href=\"genproc.php?action=upsd&amp;ses=$ses&amp;cmid=$item[3]\">$item[0]</a> &#187; ";
        echo "<img src=\"$item[1]\" alt=\"$item[0]\"/> &#187; $item[2] <br/>";
    }
    }
    echo "</p>";
    echo "<p align=\"center\">";
    echo "<a href=\"genproc.php?action=upsd&amp;ses=$ses&amp;cmid=0\">Disable soundmood</a><br/><br/>";
    if($page>1)
    {
      $ppage = $page-1;
      echo "<a href=\"lists.php?action=chsound&amp;page=$ppage&amp;ses=$ses&amp;view=$view\">&#171;PREV</a> ";
    }
    if($page<$num_pages)
    {
      $npage = $page+1;
      echo "<a href=\"lists.php?action=chsound&amp;page=$npage&amp;ses=$ses&amp;view=$view\">Next&#187;</a>";
    }
    echo "<br/>$page/$num_pages<br/>";
    if($num_pages>2)
    {
      $rets = "Jump to page<input name=\"pg\" format=\"*N\" size=\"3\"/>";
        $rets .= "<anchor>[GO]";
        $rets .= "<go href=\"lists.php\" method=\"get\">";
        $rets .= "<postfield name=\"action\" value=\"$action\"/>";
        $rets .= "<postfield name=\"ses\" value=\"$ses\"/>";
        $rets .= "<postfield name=\"page\" value=\"$(pg)\"/>";
        $rets .= "</go></anchor>";

        echo $rets;
    }
    echo "</p>";
  ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo "<a href=\"index.php?action=chat&amp;ses=$ses\">";
echo "Chatrooms</a><br/>";
    echo "<a href=\"index.php?action=cpanel&amp;ses=$ses\">";
echo "CPanel</a><br/>";
    echo "<a href=\"index.php?action=main&amp;ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
echo "Home</a>";
  echo "</p>";
		echo wapfoot();

	}
}






then replace echo webhead($uthm,$stitle);

with 

echo webhead($uthm,$stitle,$sound);


after that

go to core.php

and replace


function webhead($uthm,$pgtitle)
{
	$ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" >";
	$ret .= "<head>";
	$ret .= "<title>$pgtitle</title>";
	$ret .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"images/favicon.ico\" />";
	$ret .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/$uthm\" />";
	$ret .= "</head></head><body>";
	return $ret;
}

with


function webhead($uthm,$pgtitle,$sound)
{
	$ret = "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" >";
	$ret .= "<head>";
	$ret .= "<title>$pgtitle</title>";
	$ret .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"images/favicon.ico\" />";
	$ret .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/$uthm\" />";
	$ret .= "</head></head><body>";
        $ret .= "<bgsound src=\"$sound\" loop=\"infinite\"/>";
        
	return $ret;

}


and 

function waphead($pgtitle)
{
	$ret = "<wml><card id=\"main\" title=\"$pgtitle\">";
	return $ret;
}


with 


function waphead($pgtitle,$sound)
{
	$ret = "<wml><card id=\"main\" title=\"$pgtitle\">";
         $ret .= "<bgsound src=\"$sound\" loop=\"infinite\"/>";
	return $ret;
}



and after that add on each page 


where starts the params


$action = $_GET["action"];
$page = $_GET["page"];
$who = $_GET["who"];
$brws = explode(" ",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();


...etc

add
$sound = mysql_fetch_array(mysql_query("SELECT `chsound` FROM ibwf_users WHERE id='".$uid."'"));



and 

that is for funmobile script





for afta-dark is another businesss




hehe here it is




link:

echo "<a href=\"lists.php?action=chsound&amp;sid=$sid&amp;page=1\">&#187;Chat mood</a><br/>";


add the sql.txt contain  in your database

add a new row in ibwf_users named `chsound` 


`chsound` int(100) NOT NULL default '0',
action: copy that in lists.php



//////////////////////////////////Moods :)

else if($action=="chsound")
{
    addonline(getuid_sid($sid),"Viewing The Sound List","");
    echo "<head>";
    echo "<title>Sound List</title>";
    echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"themes/$theme[0]\">";
    echo "</head>";
    echo "<body>";
    echo "<bgsound src=\"$sound\" loop=\"infinite\"/>";

    //////ALL LISTS SCRIPT <<

    if($page=="" || $page<=0)$page=1;
    $noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_sounds"));
    $num_items = $noi[0]; //changable
    $items_per_page= 5;
    $num_pages = ceil($num_items/$items_per_page);
    if(($page>$num_pages)&&$page!=1)$page= $num_pages;
    $limit_start = ($page-1)*$items_per_page;

    //changable sql

        $sql = "SELECT text, sound, dscr, id FROM ibwf_sound ORDER BY id DESC LIMIT $limit_start, $items_per_page";


    echo "<p>";
    $items = mysql_query($sql);
    echo mysql_error();
    if(mysql_num_rows($items)>0)
    {
    while ($item = mysql_fetch_array($items))
   {
        echo "<small><a href=\"genproc.php?action=upsd&amp;sid=$sid&amp;cmid=$item[3]\">$item[0]</a> &#187; ";
        echo "<img src=\"$item[1]\" alt=\"$item[0]\"/> &#187; $item[2] </small><br/>";
    }
    }
    echo "</p>";
    echo "<p align=\"center\">";
    echo "<a href=\"genproc.php?action=upsd&amp;sid=$sid&amp;cmid=0\">Disable soundmood</a><br/><br/>";
    if($page>1)
    {
      $ppage = $page-1;
      echo "<a href=\"lists.php?action=chsound&amp;page=$ppage&amp;sid=$sid&amp;view=$view\">&#171;PREV</a> ";
    }
    if($page<$num_pages)
    {
      $npage = $page+1;
      echo "<a href=\"lists.php?action=chsound&amp;page=$npage&amp;sid=$sid&amp;view=$view\">Next&#187;</a>";
    }
    echo "<br/>$page/$num_pages<br/>";
    if($num_pages>2)
    {
        $rets = "<form acion=\"lists.php\" method=\"get\">";
        $rets .= "<input name=\"page\" style=\"-wap-input-format: '*N'\" size=\"2\"/>";
        $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>";
        $rets .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\"/>";
        $rets .= "<input type=\"submit\" value=\"Go To Page\"/>";
        $rets .= "</form>";

        echo $rets;
    }
    echo "</p>";
  ////// UNTILL HERE >>
    echo "<p align=\"center\">";
    echo "<a href=\"index.php?action=chat&amp;sid=$sid\">Chat</a><br/>";
    echo "<a href=\"index.php?action=cpanel&amp;sid=$sid\">Settings</a><br/>";
  echo "<b>0 </b><a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"\"/>Home</a>";
  echo "</p>";
    echo "</body>";
}


and after that add on each page 


where starts the params


$action = $_GET["action"];
$page = $_GET["page"];
$who = $_GET["who"];
$brws = explode(" ",$HTTP_USER_AGENT);
$ubr = $brws[0];
$uip = getip();


...etc

add
$sound = mysql_fetch_array(mysql_query("SELECT `chsound` FROM ibwf_users WHERE id='".$uid."'"));


be carefull!!!! to add 

the new headers on each page else won't work.



---------------------------------------taranuxxl---------------------------




P.S another thing:


make sure you put this 

 echo "<bgsound src=\"$sound\" loop=\"infinite\"/>";


if you are using afta-dark script after

echo "</head>";
    echo "<body>";

else wont work a thing


that's all mates




