mevcut sayfanın kod dökümü bu;
<?
$friend_name=trim($_GET['manga_name']);
$chapter=trim($_GET['chapter']);
if(!isset($_REQUEST['cur_img_num']))
{
$cur_image=0;
}
else
{
$cur_image=trim($_REQUEST['cur_img_num']);
}
$select_list=manga_chapter_list($friend_name);
$manga=manga_chapter_info($friend_name,$chapter);
$query=mysql_query(" select * from meta_data where meta_name='post_view_type' ");
$viewtype=mysql_fetch_assoc($query);
if($viewtype['meta_text']=='page')
{
$show_select_img='yes';
$list_select_img=show_select_image($manga['numimg'],$cur_image);
update_count_view_chapter($friend_name,$chapter);
if(!isset($_REQUEST['cur_img_num']))
{
$image_position= $manga['images'][0];
}
else
{
$image_position= $manga['images'][$cur_image];
}
if(stristr($image_position,'http://'))
{
$imagesrc='<img src="'.$image_position.'" />';
}
else
{
$imagesrc='<img src="'.$config['url'].$image_position.'" />';
}
}
else
{
$show_select_img='no';
$imagelist=show_chapter_image($chapter,$friend_name);
for($i=0;$i<count($imagelist);$i++)
{
$image_position=$imagelist[$i];
if(stristr($image_position,'http://'))
{
$imagesrc.='<img src="'.$image_position.'" /><br />';
}
else
{
$imagesrc.='<img src="'.$config['url'].$image_position.'" /><br />';
}
}
}
?>
<!-- Page -->
<div class="widget" style="border:0px;text-align: center;">
<p>
<strong><?=$manga['manga_name'];?> / <?=$chapter;?></strong>
</p>
<p>
<?=$select_list;?>
<? if($show_select_img=='yes') { ?>
<input type="button" value="< Önce" id="btnprev" class="btn" style="margin-left:100px;">
<?=$list_select_img;?>
<input type="button" value="Sonra >" id="btnnext" class="btn">
<? } ?>
</p>
</div>
<!-- Page -->
<div class="widget" style="border:0px;text-align: center;">
<!-- Place ads code here -->
<p> <? theme_page('ads_300x250.php');?></p>
<!-- Place ads code here -->
</div>
<div class="widget" style="border:0px;text-align: center;">
<?=$imagesrc;?>
</div>
<div class="widget" style="border:0px;text-align: center;">
<!-- Place ads code here -->
<!-- Place ads code here -->
</div>
<!-- Page -->
<div class="widget" style="border:0px;text-align: center;">
<p>
<strong><?=$manga['manga_name'];?>/<?=$chapter;?></strong>
</p>
<p>
<?=$select_list;?>
<? if($show_select_img=='yes') { ?>
<input type="button" value="< Önce" id="btnprev" class="btn" style="margin-left:100px;">
<?=$list_select_img;?>
<input type="button" value="Sonra >" id="btnnext" class="btn">
<? } ?>
</p>
</div>
<!-- Page -->
<div class="row" style="background-color: #fff;height:200px;">
<p><b >Yorum :</b></p>
<p>
<div class="fb-comments" data-href="<?=$config['url'];?>manga/<?=$friend_name;?>/<?=$chapter;?>.html" data-width="890" data-num-posts="10"></div>
</p>
</div>
<script>
var thisurl='<?=$config['url'];?>';
var friend_name='<?=trim($_GET['manga_name']);?>';
var chapter_number='<?=trim($_GET['chapter']);?>';
var image_number=<?=$cur_image;?>;
</script>