The account not activated yet.
Please find activation e-mail in your mail box and read it.
session_destroy();
exit;
}
else
{
$query = sprintf ('DELETE FROM user_activation WHERE user_id = %s',
(int) $user_id);
$result = mysql_query( $query ) or die(mysql_error());
$query = sprintf ('UPDATE users SET `activated` = NOW() WHERE id = %s',
(int) $user_id);
$result = mysql_query( $query ) or die(mysql_error());
}
}
}
else
{
?>
Occurs the error which must be occurs never!
Try to login again.
session_destroy();
exit;
}
?>
Main page
$page = $_GET["page"];
if ( !isset($page) ) $page = 1;
if ($page != 1)
{
?>
Account
}
else
{
?>
Account
}
if (advertisment_admin() || advertiser())
{
if ($page != 2)
{
?>
Advertisment
}
else
{
?>
Advertisment
}
if ($page != 14)
{
?>
Adv. Control
}
else
{
?>
Adv. Control
}
}
if (user_admin())
{
if ($page != 3)
{
?>
Users
}
else
{
?>
Users
}
}
if (uploader() || tvvoduploader())
{
if ($page != 4)
{
?>
ADD VOD FILMS
}
else
{
?>
ADD VOD FILMS
}
}
$query = sprintf('SELECT * FROM package_maintainers WHERE user_id = %d',
$user_id);
$result = mysql_query($query) or die(mysql_error());
$is_some_package_maintainer = (mysql_num_rows($result) > 0);
if (tvchannels_admin() || $is_some_package_maintainer)
{
if ($page != 5)
{
?>
TV
}
else
{
?>
TV
}
}
if ($page != 7)
{
?>
FILMS
}
else
{
?>
FILMS
}
if ($page != 6)
{
?>
TV Subscriptions
}
else
{
?>
TV Subscriptions
}
if (uploader())
{
if ($page != 8)
{
?>
Contributor
}
else
{
?>
Contributor
}
}
if (distributor())
{
if ($page != 9)
{
?>
Distributor
}
else
{
?>
Distributor
}
}
if (distributor_admin())
{
if ($page != 11)
{
?>
Payments
}
else
{
?>
Payments
}
}
if (distributor_admin() && user_admin())
{
if ($page != 12)
{
?>
Statistics
}
else
{
?>
Statistics
}
}
if (tvvoduploader())
{
if ($page != 13)
{
?>
TV-VOD Activation
}
else
{
?>
TV-VOD Activation
}
}
if ($page != 10)
{
?>
Account
}
else
{
?>
Account
}
?>
Logout
Greetings, !
if ( $page == 1 )
{
?>
Your devices:
$result = mysql_query("SELECT * FROM devices WHERE user_id=$user_id") or die(mysql_error());
while($row = mysql_fetch_array($result))
{
?>
unlink
}
?>
<Link New Device>
Default country: none
(double click on country to select)
Countries
$query = "SELECT country FROM stations GROUP BY country";
$result = mysql_query($query) or die(mysql_error());
$count = 0;
while($row = mysql_fetch_array($result))
{
$count++;
?>
}
?>
Stations
<Add new station>
URL:
Playlist:
-
Stream:
-
Bitrate:
-
Logo:
Country:
-
Name:
Keyword:
Email:
Location:
Site:
Timezone:
if ( station_admin() )
{
?>
}
?>
My Channels/* (last updated
$date = new DateTime("@$favorites_lastupdate");
print $date->format('Y-m-d H:i:s');
?>)
*/?>
$query = sprintf('SELECT * FROM favorites WHERE user_id = %s ORDER BY `order`', $user_id);
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result))
{
?>
}
?>
Country RSS list:
User RSS list:
$query = sprintf('SELECT * FROM user_rss WHERE user_id = %s ORDER BY `order`', $user_id);
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result))
{
?>