Hi admin
I would like to have "include/function_video_rating.php" dezend because i want to make that everyone can rate videos even guests users.
That will help me very much.
thank you
Printable View
Hi admin
I would like to have "include/function_video_rating.php" dezend because i want to make that everyone can rate videos even guests users.
That will help me very much.
thank you
Me tooooooooooo! ;)
Since the next version is going to be unencrypted i didnt think it would hurt to decrypt this file for these guys?
NOTE IM NOT SURE IF IT WAS DECRYPTED CORRECTLYCode:<?php
function insert_video_rating($_obfuscate_NHIjmrYÿ)
{
global $config;
$_obfuscate_0W8ÿ = $_obfuscate_NHIjmrYÿ['id'];
$_obfuscate_zOVUj6Eÿ = 5;
$_obfuscate_3y0Y = "SELECT `ratedby`, `rate`, `voter_id`, `be_rated` FROM `video` WHERE `VID`=" . $_obfuscate_0W8ÿ;
if (!($_obfuscate_xs33Yt_k = mysql_query($_obfuscate_3y0Y)))
{
mysql_die($_obfuscate_3y0Y);
}
$_obfuscate_ss5FfHDZaUmtQÿÿ = mysql_fetch_assoc($_obfuscate_xs33Yt_k);
if ($_obfuscate_ss5FfHDZaUmtQÿÿ['ratedby'] < 1)
{
$_obfuscate_gftfagwÿ = 0;
}
else
{
$_obfuscate_gftfagwÿ = $_obfuscate_ss5FfHDZaUmtQÿÿ['ratedby'];
}
$_obfuscate_pQ83s68r5AVQEfdANA8ÿ = $_obfuscate_ss5FfHDZaUmtQÿÿ['rate'];
$_obfuscate_Jb9amb0ÿ = $_obfuscate_gftfagwÿ == 1 ? "vote" : "votes";
if ($config['video_rating'] == "Once")
{
$_obfuscate_AR_jlPHcwpRR = $_obfuscate_ss5FfHDZaUmtQÿÿ['voter_id'];
$_obfuscate_r6MQU9AgCgWeBwÿÿ = explode("|", $_obfuscate_AR_jlPHcwpRR);
if (in_array($_SESSION['UID'], $_obfuscate_r6MQU9AgCgWeBwÿÿ))
{
$_obfuscate_U1oSA_iihCMÿ = 1;
}
else
{
$_obfuscate_U1oSA_iihCMÿ = 0;
}
}
else
{
$_obfuscate_U1oSA_iihCMÿ = 0;
}
$_obfuscate_NIqh6rW0waOhRvBcKC9ypwÿÿ = 20;
$_obfuscate_qX3yLFuOwXkKmqdC = number_format($_obfuscate_pQ83s68r5AVQEfdANA8ÿ / $_obfuscate_gftfagwÿ, 2) * $_obfuscate_NIqh6rW0waOhRvBcKC9ypwÿÿ;
$_obfuscate_dyEaZGmuWgÿÿ = @number_format($_obfuscate_pQ83s68r5AVQEfdANA8ÿ / $_obfuscate_gftfagwÿ, 1);
$_obfuscate_kUjCYsSL7gÿÿ = @number_format($_obfuscate_pQ83s68r5AVQEfdANA8ÿ / $_obfuscate_gftfagwÿ, 2);
$_obfuscate_mzwSmYÿ = "<div>";
$_obfuscate_mzwSmYÿ .= "<div>";
$_obfuscate_mzwSmYÿ .= " <ul id=\"unit_ul" . $_obfuscate_0W8ÿ . "\" class=\"unit-rating\" style=\"width:" . $_obfuscate_NIqh6rW0waOhRvBcKC9ypwÿÿ * $_obfuscate_zOVUj6Eÿ . "px;\">";
$_obfuscate_mzwSmYÿ .= "<li class=\"current-rating\" style=\"width:" . $_obfuscate_qX3yLFuOwXkKmqdC . "px;\">Currently " . $_obfuscate_kUjCYsSL7gÿÿ . "/" . $_obfuscate_zOVUj6Eÿ . "";
$_obfuscate_Ckv19OWb = 1;
for (; $_obfuscate_Ckv19OWb <= $_obfuscate_zOVUj6Eÿ; ++$_obfuscate_Ckv19OWb)
{
if (!($_obfuscate_U1oSA_iihCMÿ == 0) && !($_obfuscate_ss5FfHDZaUmtQÿÿ['be_rated'] == "yes"))
{
$_obfuscate_mzwSmYÿ .= "[*]<a href=\"javascript:video_rate(" . $_obfuscate_0W8ÿ . ",{$_obfuscate_Ckv19OWb});\" title=\"{$_obfuscate_Ckv19OWb} out of {$_obfuscate_zOVUj6Eÿ}\" class=\"r" . $_obfuscate_Ckv19OWb . "-unit rater\" rel=\"nofollow\">" . $_obfuscate_Ckv19OWb . "</a>";
}
}
$_obfuscate_Ckv19OWb = 0;
$_obfuscate_mzwSmYÿ .= "[/list]<p";
if ($_obfuscate_U1oSA_iihCMÿ == 1)
{
$_obfuscate_mzwSmYÿ .= " class=\"voted\"";
}
$_obfuscate_mzwSmYÿ .= ">Rating: " . $_obfuscate_dyEaZGmuWgÿÿ . "/" . $_obfuscate_zOVUj6Eÿ . " (" . $_obfuscate_gftfagwÿ . " " . $_obfuscate_Jb9amb0ÿ . " cast)";
$_obfuscate_mzwSmYÿ .= "</p></div></div>";
return $_obfuscate_mzwSmYÿ;
}
?>
Actually, what you posted will not work as it isn't decrypted properly.
I was wondering i didn't try to run the code afterwards
Yes that code do not work. I have seen this at dezent vshare code :roll: .
admin can you PM me the code?? or publish it??
[quote=" I have seen this at dezent vshare code :roll: .[/quote]
What does that mean?
There are illegal versions of vShare on the Internet have been "dezend" (Zend is what was used to encrypt vShare). Because the "dezend" process isn't accurate, most people who run illegal versions of vShare quickly find out that it doesn't work. He has probably seen the file you posted from one of those dezended versions.
Yeah i knew it was encrypted with that software just could figure out what he was talking about by saying dezent.
\Thanks
where is the admin???? :(
We are not asking too much also thinking that we are waiting for new version 2.7 for more then ONE year! :roll:
The new version will be out REAL SOON for beta testingQuote:
Originally Posted by ramius
GIve it a couple more weeks
The new version will be out REAL SOON for beta testingQuote:
Originally Posted by ramius
GIve it a couple more weeks
You guys cant really rush or bitch to admin its obvious the code was encrypted before purchase just by seeing the script requires Zend Optimizer.
The Version 2.7 of Vshare with source code will be released on 10 March 2009 by admin.
Some of the new features of Vshare are:
* XHTML Template
* CSS Style switcher - Default/Black Layout
* Almost every code is rewritten for security and performance.
* Lighttpd mod_secdownload support
* Support for Image server to store video thumbnails.
* New Flash Player with support for hiding video url