hi friends i include MMs function in my site by grab mms script via walive script
i ad in retrivewap script
i add this line in my script
like this
but its giv error in index page
this error i got
» Inbox[2]
Fatal error: Call to undefined function getmmscount() in /home/vhosts/mysite.net/index.php on line 383
in abv script i bold 383 lines
plz help me what i do ???????????
i ad in retrivewap script
i add this line in my script
PHP Code:
}
$tmms = getmmscount(getuid_sid($sid));
$nmms = getunreadmms($uid);
if ($nmms>0){
$rampage = "($nmms new)";
echo "<a href=\"inbox.php?action=mmsdisp&sid=$sid\">$iconinn MMS Inbox ($nmms new photo)</a><br/>";
} else{
echo "<a href=\"inbox.php?action=mmsdisp&sid=$sid\">$iconinn MMS Inbox ($nmms /$tmms)</a><br/>";
}
PHP Code:
/////inbox data
$new_gm = getnewgml(getuid_sid($sid));
if($new_gm>0)
{
echo "<a href=\"rwgmail.php?sid=$sid\">»G-Mail(".$new_gm.")</a><br/>";
}
$tmsg = getpmcount(getuid_sid($sid));
$umsg = getunreadpm(getuid_sid($sid));
if($umsg==1)
{
echo " <a accesskey=\"1\" href=\"inbox.php?action=folderunread&sid=$sid\">$iconinn $lang21</a>[$umsg $lang21a]<br/>";
}
if($umsg>1)
{
echo "<a accesskey=\"1\" href=\"inbox.php?action=folderunread&sid=$sid\">$iconinn $lang21</a>[$umsg $lang21b]<br/>";
}
if($umsg==0)
{
echo "<a accesskey=\"1\" href=\"inbox.php?action=main&sid=$sid\">$iconino $lang21</a>[$tmsg]<br/>";
}
[B]$tmms = getmmscount(getuid_sid($sid));[/B]
$nmms = getunreadmms($uid);
if ($nmms>0)
{
$rampage = "($nmms new)";
echo "<a href=\"inbox.php?action=mmsdisp&sid=$sid\">$iconinn MMS Inbox ($nmms new photo)</a><br/>";
} else{
echo "<a href=\"inbox.php?action=mmsdisp&sid=$sid\">$iconinn MMS Inbox ($nmms /$tmms)</a><br/>";
}
$uid = getuid_sid($sid);
$mybuds = getnbuds($uid);
$onbuds = getonbuds($uid);
echo "<a accesskey=\"2\" href=\"lists.php?action=buds&sid=$sid\">$iconbuddy $lang22</a>[$onbuds|$mybuds]";
but its giv error in index page
this error i got
» Inbox[2]
Fatal error: Call to undefined function getmmscount() in /home/vhosts/mysite.net/index.php on line 383
in abv script i bold 383 lines
plz help me what i do ???????????
Comment