Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

Bonjour j'ai remplacer https://WEBSITE.com par l'url de mon site sur les deux fichier et ça ne fonctionne pas ?

Hello I replaced https://WEBSITE.com by the url of my site on both files and it doesn't work?

the image is visible but when you click on it you get this error page


[ATTACH type="full" alt="1586421465240.png"]5438[/ATTACH]
voici mon code et sa ne fonctionne pas quand on click sur l'image ?? Merci pour votre aide.

here's my code and it doesn't work when you click on the image ?? Thanks for your help.


<?php
require_once("backend/functions.php");
dbconn();
stdhead(T_("SPOTLIGHT"));
begin_frame(T_("THE_GALLERY"));
?>


<h1 itemprop="name">
   <i class="material-icons">star</i> Spotlight
</h1>

   <script type="text/javascript">
       $(document).ready(function() {
           $("#cd-name").keyup(function() {
               var a = $(this).val().trim();
               if ("" != a) {
                   $("#uname_response").show();
                   $.ajax({
                       url: "https://WEBSITE.com/ajax_gallery.php",
                       type: "post",
                       data: {
                           username: a
                       },
                       success: function(a) {
                           $("#uname_response").html(a);
                           $(".comments").hide();
                       }
                   });
               } else $("#uname_response").hide();
               $(".comments").show();
           });
       });
   </script>


   <div style="padding-left:40px">
       <form class="cd-form floating-labels">

           <fieldset>
               <div class="icon">
                   <label class="cd-label" for="cd-name">History (beta)</label>
                   <input class="user" type="text" name="username" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" id="cd-name" placeholder="Search Spotlight History">
               </div>
           </fieldset>
       </form>
   </div>
       <!-- AJAX Search/Response -->
       <center>
           <div id="uname_response"></div>
       </center>
       <br />
       <br />

       <!-- Spotlight Section -->

       <div class="card-action ng-scope" ng-if="item.comment_count">

       <!-- interactionCount -->
       <span itemprop="interactionCount" class="comments">
     
       <h1 itemprop="name" style="text-align:center;padding-bottom:23px">
           Last 50
       </h1>
           <center>
           <?
           $total_covers = 50;
           $query        = "SELECT id, name, image1, image2 FROM torrents ORDER BY id DESC LIMIT $total_covers";
           $res          = SQL_Query_exec($query);
           while ($arr = @mysqli_fetch_assoc($res)) {
               if (!$arr['image1'])
                   echo "<a title=\"" . $arr['name'] . "\" href=\"torrents-details.php?id=" . $arr['id'] . "/\"><img itemprop=\"image\" class=\"responsive-img\" src=\"" . $site_config['SITEURL'] . "/images/switch_cover_none.png\" alt=\"" . $arr['name'] . "\" style=\"width: 107px; height: 176px; margin-right: 10px\" border=\"0\" /></a>";
               else
                   echo "<a title=\"" . $arr['name'] . "\" href=\"" . $site_config['SITEURL'] . "/details/" . $arr['id'] . "/\"><img itemprop=\"image\" class=\"responsive-img\" src=\"" . $site_config['SITEURL'] . "/uploads/images/" . htmlspecialchars($arr["image1"]) . "\" alt=\"" . $arr['name'] . "\" style=\"width: 107px; height: 176px; margin-right: 10px\" border=\"0\" /></a>";
           }
           if ($CURUSER)
              SQL_Query_exec("UPDATE users SET last_browse=" . gmtime() . " WHERE id=$CURUSER[id]");
           ?>
           </center>
       </span>

       </div>
Merci et maintenant il y a l'image mais quand on click sur l'image on est pas rediriger sur la page du detail du torrent on a une page d'erreur comme ci-dessous.

Thanks and now there is the image but when we click on the image we are not redirected to the torrent detail page we have an error page as below.

[ATTACH type="full"]5435[/ATTACH]




[ATTACH type="full"]5434[/ATTACH]
Bonjour, l'image n'est pas visible  mais la redirection au detail du torrent fonctionne bien, pouvez vous voir pour que l'image apparaisse je joins le fichier et le code ci-dessous,merci d'avance.

Hello, the image is not visible but the redirection to the torrent detail works well, can you see for the image to appear I attach the file and code below, thank you in advance.


[ATTACH type="full" alt="1586363682707.png"]5432[/ATTACH]





<?php
require_once("backend/functions.php");
dbconn();
stdhead(T_("SPOTLIGHT"));
begin_frame(T_("THE_GALLERY"));
?>

<h1 itemprop="name">
   <i class="material-icons">star</i> Spotlight
</h1>

   <script type="text/javascript">
       $(document).ready(function() {
           $("#cd-name").keyup(function() {
               var a = $(this).val().trim();
               if ("" != a) {
                   $("#uname_response").show();
                   $.ajax({
                       url: "https://WEBSITE.com/ajax_gallery.php",
                       type: "post",
                       data: {
                           username: a
                       },
                       success: function(a) {
                           $("#uname_response").html(a);
                           $(".comments").hide();
                       }
                   });
               } else $("#uname_response").hide();
               $(".comments").show();
           });
       });
   </script>


   <div style="padding-left:40px">
       <form class="cd-form floating-labels">

           <fieldset>
               <div class="icon">
                   <label class="cd-label" for="cd-name">History (beta)</label>
                   <input class="user" type="text" name="username" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" id="cd-name" placeholder="Search Spotlight History">
               </div>
           </fieldset>
       </form>
   </div>
       <!-- AJAX Search/Response -->
       <center>
           <div id="uname_response"></div>
       </center>
       <br />
       <br />

       <!-- Spotlight Section -->

       <div class="card-action ng-scope" ng-if="item.comment_count">

       <!-- interactionCount -->
       <span itemprop="interactionCount" class="comments">
     
       <h1 itemprop="name" style="text-align:center;padding-bottom:23px">











           Last 50
       </h1>
           <center>
           <?
           $total_covers = 50;
           $query        = "SELECT id, name, image1, image2 FROM torrents ORDER BY id DESC LIMIT $total_covers";
           $res          = SQL_Query_exec($query);
           while ($arr = @mysqli_fetch_assoc($res)) {
               if (!$arr['cover1'])
                   echo "<a title=\"" . $arr['name'] . "\" href=\"torrents-details.php?id=" . $arr['id'] . "/\"><img itemprop=\"image\" class=\"responsive-img\" src=\"" . $site_config['SITEURL'] . "/images/switch_cover_none.png\" alt=\"" . $arr['name'] . "\" style=\"width: 107px; height: 176px; margin-right: 10px\" border=\"0\" /></a>";
               else
                   echo "<a title=\"" . $arr['name'] . "\" href=\"" . $site_config['SITEURL'] . "/details/" . $arr['id'] . "/\"><img itemprop=\"image\" class=\"responsive-img\" src=\"" . $site_config['SITEURL'] . "/uploads/images/" . htmlspecialchars($arr["image1"]) . "\" alt=\"" . $arr['name'] . "\" style=\"width: 107px; height: 176px; margin-right: 10px\" border=\"0\" /></a>";
           }
           if ($CURUSER)
              SQL_Query_exec("UPDATE users SET last_browse=" . gmtime() . " WHERE id=$CURUSER[id]");
           ?>
           </center>
       </span>

       </div>
end_frame();
<? stdfoot(); ?>
it does not work the update remains at 0 when you click on the images would you have an idea to make this module work, thank you in advance

il ne fonctionne pas la mise à jour reste à 0 lorsque vous cliquez sur les images auriez-vous une idée pour faire fonctionner ce module, merci d'avance


when you click on an image like or other there is a message that says that you have already voted for this torrent and the update of the counter remains at 0

lorsque vous cliquez sur une image like ou autres il y a un message qui dit que vous avez déjà voté pour ce torrent et la mise à jour du compteur reste à 0
thank you and everything's working fine now :p
Hello it doesn't work when you click on the pieces you get a blank page with this...  >>>>   File not found.

Bonjour ça ne marche pas quand vous cliquez sur les pièces vous obtenez une page blanche avec ce...   >>>>   File not found.
category picture — 2020-02-29 23:01:37 in v3 Mods Requests
Merci pour votre aide:D(y) a vous tous  et sa fonctionne j'ai fait comme ceci...

Thank you for your help  has all of you and it works like this .



<img src=/images/languages/" . $row["lang_image"] . ">

<img src='images/categories/" . $row["cat_pic"] . "'>

et cela donne ceci:
and the result is this:

[ATTACH type="full" alt="5392"]5392[/ATTACH]
category picture — 2020-02-29 21:48:07 in v3 Mods Requests
Thanks, but it doesn't work, tempi, and thanks for your help anyway. (y):)
category picture — 2020-02-29 16:49:53 in v3 Mods Requests
Merci spiriblue mais c'est toujours pareille sa marque movie.png pais l'image ne s'affiche pas je te joins le bout de code ci-dessous et j'ai ajouter dedans le code
" . $row["cat_pic"] . "  et le code categories.parent_cat as cat_parent,  est biens présent sur le fichieer torrent detail.php


Thank you spiriblue but it's still the same her brand movie.png but the image is not displayed I join you the code below and I added inside the code
" . $row [ cat_pic ]. " and the code categories.parent_cat as cat_parent, is present on the torrent detail.php file.



[ATTACH type="full" alt="5390"]5390[/ATTACH]


<table border='0' cellpadding='3' width='100%'>

<td>
<table border='0' cellpadding='1' width='100%'>

<td width=10 class=ttable_col2 align=center><a href=\"download.php?id=$id&amp;name=" . rawurlencode($arr["filename"]) . "\"><img src='" . $site_config['SITEURL'] . "/images/download_torrent3.png
' border='0' title='".T_("DIRECT_DOWN")."' alt=\"Download torrent\" /></a></td>



<td class=ttable_col2 align='center'><b>Lang: </b>
<span style='color:#9E5412'><b>" . $row["lang_name"] . "</b></span>

<td class=ttable_col2 align='center'><b>" .T_("CATEGORY"). " : </b><span style='color:#9E5412'><b>
" . $row["cat_parent"] . "</b>  " . $row["cat_pic"] . "  </span>

<td class=ttable_col2 align='center'><b>Genre : </b>
<span style='color:#9E5412'><b>" . $row["cat_name"] . "</b></span>

<td class=ttable_col2 align='center'>
<b>" .T_("TOTAL_SIZE"). " : </b>
<b><span style='color:#9E5412'>" . mksize($row["size"]) . "</b></span></td>

</font>

</b></div></td>
</b></th></tr>
</table>
category picture — 2020-02-29 14:58:09 in v3 Mods Requests
ok merci je vais voir sa

Okay, thanks. I'll check it out.
category picture — 2020-02-29 12:00:28 in v3 Mods Requests
Merci spititblue et c'est quand même mieux en Francais , merci
category picture — 2020-02-28 19:28:19 in v3 Mods Requests
Merci spititbluee mais comme j'ai déjà modifier beaucoup la pagee du detail du torrent j'ai une page blanche quand je mais ce code et quand je mais seulement ce code

" . $row["cat_pic"] . "


j'ai juste ceci ... movie.jpg qui apparais

et quand je mais ce code a la place de  " . $row["cat_pic"] . "

" . $site_config['SITEURL'] . "/images/categories/" . $row["cat_pic"] . "


j'ai une page blanche d'erreur dans tout les cas je te remercie pour ton aide




voici la partie du code  non modifier sans bug de mon fichier torrent detail et je cherche a modifier pour remplacer l'inscription   movie   par le logo de categorie sur l'image de capture jointe ci-dessous





<table border='0' cellpadding='3' width='100%'>
<td>
<table border='0' cellpadding='1' width='100%'>

<td width=10 class=ttable_col2 align=center><a href=\"download.php?id=$id&amp;name=" . rawurlencode($arr["filename"]) . "\"><img src='" . $site_config['SITEURL'] . "/images/download_torrent3.png
' border='0' title='".T_("DIRECT_DOWN")."' alt=\"Download torrent\" /></a></td>

<td class=ttable_col2 align='center'><b>Lang: </b>
<span style='color:#9E5412'>" . $row["lang_name"] . "</span>


je cherche a mettre le logo des catégorie a la place de movie sur cette image de capture ci-dessous



<td class=ttable_col2 align='center'><b>" .T_("CATEGORY"). " : </b><span style='color:#9E5412'>

<b>" . $row["cat_parent"] . "</b>

</span>

<td class=ttable_col2 align='center'><b>Genre : </b>
<span style='color:#9E5412'>" . $row["cat_name"] . "</span>

<td class=ttable_col2 align='center'>
<b>" .T_("TOTAL_SIZE"). " : </b>
<span style='color:#9E5412'>" . mksize($row["size"]) . "</span></td>

</font>

</b></div></td>
</b></th></tr>
</table>
category picture — 2020-02-27 23:06:24 in v3 Mods Requests
Bonsoir moi je cherche le bout de code a mettre dans le fichier torrents-details.php afin que le logo des catégorie s'affiche dans torrents-details.php :(
category picture — 2020-02-26 19:39:13 in v3 Mods Requests
???? :unsure:
category picture — 2020-02-26 19:09:13 in v3 Mods Requests
Thanks for the help, but I'm placing it or that code.  ?? o_O
category picture — 2020-02-26 17:25:03 in v3 Mods Requests
Hello, can you tell me if it is possible to make this module for the v3 thank you in advance.

[URL unfurl="true"]https://www.torrenttrader.xyz/index.php?threads/hack-image-categorie.3038/[/url]
Bonjour, pouvez vous regarder pour ajouter la fonction couleur a la fonction thanks, je vous joins le fichier thanks et le code thanks du fichier torrent detail, merci d'avance

Hello, can you look to add the color function to the thanks function, I enclose the thanks file and the thanks code of the torrent detail file, thank you in advance.




ci-dessous le code thanks de torrents-details.php

below the thanks code of torrents-details.php

    //START THANKS\\\\

$thanksl = explode(",", $row['thanks']);
if ($CURUSER['username'] == $row['username']) {
$leftthanks = true;
$leftthanks2 = true;
} else {
foreach ($thanksl as $u) {
$thanks .= ($i > 0) ? ", $u" : $u;
if ($u == $CURUSER['username']) {
$leftthanks2 = true;
$leftthanks = true;
}
$i++;
}
}

if (!$leftthanks2) {
$button='<br/><input type="image" src="images/dire-merci.png" id="refresh">';
} else {
$button='';
}
echo '<tr><td align="left"><b>remercié par : </b></td><td><div id="thankput"></div>'.$button.'
<script type="text/javascript" src="'.$site_config["SITEURL"].'/js/thanks.js"></script>

<script type="text/javascript">
var $s = jQuery.noConflict();

$s("#thankput").load("thanks.php?id='.$id.'");
$s(function() {
$s("#refresh").click(function() {
$s("#thankput").empty().html(\'<center><img src="'.$site_config["SITEURL"].'/images/ajax-loader.gif"></center>\');

$s("#thankput").load("thanks.php?id='.$id.'&to=give&torrent='.$id.'")
return false;
})
})
</script></td>';


////END THANKS\\\\\
guest — 2020-02-16 15:06:40 in v3 Support
merci spiritblue j'ai trouver voici le code pour cacher  la fonction thanks ou autre dans torrent detail pour les invité (y)



if ($site_config['NEWSON'] && $CURUSER['view_news'] == "yes"){
loggedinonly();

ici le code a cacher

   }
guest — 2020-02-16 12:32:28 in v3 Support
Merci spiritblue j'ai mis tes code et sa ne fonctionne pas j'ai une page blanche d'erreur

Thank you spiritblue I put in your code and it doesn't work, I have a blank page of error.


<?php if (!$site_config["MEMBERSONLY"] || $CURUSER) { ?>
   //START THANKS\\\\
 
$thanksl = explode(",", $row['thanks']);
if ($CURUSER['username'] == $row['username']) {
$leftthanks = true;
$leftthanks2 = true;
} else {
foreach ($thanksl as $u) {
$thanks .= ($i > 0) ? ", $u" : $u;
if ($u == $CURUSER['username']) {
$leftthanks2 = true;
$leftthanks = true;
}
$i++;
}
}

if (!$leftthanks2) {
$button='<br/><input type="image" src="images/dire-merci.png" id="refresh">';
} else {
$button='';
}
echo '<tr><td align="left"><b>remercié par : </b></td><td><div id="thankput"></div>'.$button.'
<script type="text/javascript" src="'.$site_config["SITEURL"].'/js/thanks.js"></script>

<script type="text/javascript">
var $s = jQuery.noConflict();

$s("#thankput").load("thanks.php?id='.$id.'");
$s(function() {
$s("#refresh").click(function() {
$s("#thankput").empty().html(\'<center><img src="'.$site_config["SITEURL"].'/images/ajax-loader.gif"></center>\');

$s("#thankput").load("thanks.php?id='.$id.'&to=give&torrent='.$id.'")
return false;
})
})
</script></td></tr>';

////END THANKS\\\\\
<?php } ?>
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728