PDA

View Full Version : in.php and TGPX


Kazzo
27th June 2009, 01:32 PM
Hello, I use scrip TGPX (http://www.jmbsoft.com) and am having trouble adding the include in.php

I do not know where or how to add.

My template:


{define name=globaldupes value=true}
{define name=pagedupes value=false}


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ninfomaniacas | Sexo | Fotos Diarias de Sexo | Fotos de Sexo | Galerias de Sexo | Sexo Anal | Sexo Gratis | Site de Sexo</title>
<meta http-equiv="Content-language" content="en-US">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/images/css.css">
<script type="text/javascript">
function Bookm(url, title)
{
if (!url) url = location.href;
if (!title) title = document.title;

//Gecko
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) window.sidebar.addPanel ("Nonfomaniacas - Fotos de Sexo Diariamente!", "http://www.ninfomaniacas.net", "");
//IE4+
else if (typeof window.external == "object") window.external.AddFavorite("http://www.ninfomaniacas.net", "Nonfomaniacas - Fotos de Sexo Diariamente!");
//Opera7+
else if (window.opera && document.createElement)
{
var a = document.createElement('A');
if (!a) return false; //IF Opera 6
a.setAttribute('rel','sidebar');
a.setAttribute('href',url);
a.setAttribute('title',title);
a.click();
}

}
</script>
<script type="text/javascript">
<!--
function Categories(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>

<!-- base -->


</head><body topmargin="0" rightmargin="0" bottommargin="0" bgcolor="#30d1df" text="#000000" marginheight="0">
<center>
<script language="JavaScript" src="http://www.ninfomaniacas.net/scripts/trade02.js"></script>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="890">
<tbody>
<tr>
<td width="242"><img src="/images/logo_01.jpg" width="242" height="150" /></td>
<td width="451"><img src="/images/logo_02.jpg" width="451" height="150" /></td>
<td width="307"><img src="/images/logo_03.jpg" width="297" height="150" /></td>
</tr>

<tr>
<td colspan="3">
<div></div> </td>
</tr>
</tbody></table>



<table class="up" align="center" border="0" cellpadding="0" cellspacing="0" width="936">
<tbody>

<tr class="text">
<td width="815">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font class="text2"><i>Hoje</i></font> - Galerias de Fotos Gratis:</td>
<td width="121" align="right">

&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
</tr>
</tbody></table>
<table><tbody><tr><td height="3"></td><td></td></tr></tbody></table>

<div class="set">
<div class="picture">
{* YESTERDAYS GALLERIES SECTION *}
{* Load 42 new galleries *}
{galleries
var=$galleries
preview=true
type=submitted
category=MIXED
amount=45
getnew=true
allowused=true
age=0
order=date_approved
reorder=date_displayed DESC, date_approved}

{* Display loaded galleries as thumbnails in a 6 per row format *}
{foreach from=$galleries var=$gallery counter=$counter}
<a href="http://www.xclicks.net/sc/gall.php?s=6067&sk=35&o={$gallery.gallery_url|htmlspecialchars}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" alt="Sexo"> </a>
{insert location=+6 counter=$counter max=45} </tr>
</tbody>
{/insert}
{/foreach}</div>

<table class="pages_table" align="center" border="0" cellpadding="2" cellspacing="1"><tbody><tr></tbody></table>
</div>

<br>
<br><br>

<br>
<br>

<div>
<table class="up" align="center" border="0" cellpadding="0" cellspacing="0" width="939">
<tbody><tr class="text">
<td width="394">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font class="text2"><i>Ontem</i></font> - Galerias de Fotos Gratis:</td>
<td width="647" align="right"> </td>
</tr>
</tbody></table>
<table><tbody><tr><td height="3"></td><td></td></tr></tbody></table>
</div>
<div class="set">
<div class="picture">{* YESTERDAYS GALLERIES SECTION *}
{* Load 42 new galleries *}
{galleries
var=$galleries
preview=true
type=submitted
category=MIXED
amount=45
getnew=false
allowused=true
age=1
order=date_approved
reorder=date_displayed DESC, date_approved}

{* Display loaded galleries as thumbnails in a 6 per row format *}
{foreach from=$galleries var=$gallery counter=$counter}
<a href="http://www.xclicks.net/sc/gall.php?s=6067&sk=35&o={$gallery.gallery_url|htmlspecialchars}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" alt="Sexo"> </a>
{insert location=+6 counter=$counter max=45} </tr>
</tbody>
{/insert}
{/foreach}</div>
<table class="pages_table" align="center" border="0" cellpadding="2" cellspacing="1"><tbody><tr>
</td></tr></tbody></table>
</div>

<br>
<br><br>

<br><br><br><br>

<div>
<table class="up" align="center" border="0" cellpadding="0" cellspacing="0" width="911">
<tbody><tr class="text">
<td width="867">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font class="text2"><i>Anteontem</i></font> - Fotos Gratis de Sexo:</td>
<td width="44" align="right">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
</tr>
</tbody></table>
<table><tbody><tr><td height="3"></td><td></td></tr></tbody></table>
</div>
<div class="set">
<div class="picture">{* YESTERDAYS GALLERIES SECTION *}
{* Load 42 new galleries *}
{galleries
var=$galleries
preview=true
type=submitted
category=MIXED
amount=45
getnew=false
allowused=true
age=2
order=date_approved
reorder=date_displayed DESC, date_approved}

{* Display loaded galleries as thumbnails in a 5 per row format *}
{foreach from=$galleries var=$gallery counter=$counter}
<a href="http://www.xclicks.net/sc/gall.php?s=6067&sk=35&o={$gallery.gallery_url|htmlspecialchars}" target="_blank"><img src="{$gallery.preview_url|htmlspecialchars}" alt="Sexo"> </a>
{insert location=+6 counter=$counter max=45} </tr>
</tbody>
{/insert}
{/foreach}</div>
<table class="pages_table" align="center" border="0" cellpadding="2" cellspacing="1"><tbody><tr>
</td></tr></tbody></table>
</div>

<br>
<br><br>

<br>
<br>

<div>
<table class="up" align="center" border="0" cellpadding="0" cellspacing="0" width="937">
<tbody><tr class="text">
<td width="891">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font class="text2"><i>3 Dias Atrás</i></font> - Galerias de Fotos Gratis:</td>
<td width="46" align="right">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
</tr>
</tbody></table>
<table><tbody><tr><td height="3"></td><td></td></tr></tbody></table>
</div>
</div>
<br>

</center>
</div>
</center>
</td></tr>
</tbody></table></td>
</tr>
<tr>
<td width="5"><img src="/images/a3.gif" alt="" border="0" width="5" height="5"></td>
<td width="970"><img src="/images/_blank.gif" alt="" border="0" width="970" height="1"></td>
<td width="5"><img src="/images/a4.gif" alt="" border="0" width="5" height="5"></td>
</tr>
</tbody></table>
<br><br>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="991">
<tbody><tr>
<td class="txt" align="center" background="/images/04-1-bg.jpg" width="745">
<a href="http://trafficholder.com/aff.php?lifeporn">TrafficHolder.com - Buy and Sell Adult Traffic</a><br><a href="http://www.protraffic.com/ref/4211">ProTraffic.com - Buy&amp;Sell: Banner ADS,Clicks,Adult Traffic.</a> <br><br>
© Copyright Ninfomaniacas.net Porno 2009, All Rights Reserved.<br>
This site owners don't have any relation to links provided on this site.

</td>
<td><a href="javascript:Bookm();" onMouseOver="window.status='Press Ctrl-D to Bookmark this site.'; return true" target="_parent"><img src="/images/04-2-bookmark.jpg" alt="" border="0" width="235" height="71"></a></td>
</tr>
</tbody></table>

</center>
</body></html>




my index is .html

thanks

ICEFIRE
28th June 2009, 12:22 AM
Just put this at the beginning of your template:

{phpcode}
<?php include ("in.php"); ?>
{/phpcode}

Then replace your links with out.php?pct=65&url={$gallery.gallery_url|html|slecialchars}

You will have to renmae the file to index.php and after that it will work ok.

ICEFIRE
28th June 2009, 12:23 AM
I am assuming the in.php and out.php are in the same directory as the index file. If they are not, then you will have to put the correct paths.

Kazzo
2nd July 2009, 08:00 AM
thanks

worked