Viewer implementation problems

General discussions related to php

Moderators: macek, egami, gesf

KGwebgraphics
New php-forum User
New php-forum User
Posts: 1
Joined: Fri Feb 15, 2013 8:09 pm

Viewer implementation problems

Postby KGwebgraphics » Fri Feb 15, 2013 8:10 pm

I have recently become the webmaster for a web site written in PHP. I am not overly familiar with PHP. They were using the Zoho Viewer to view multiple documents that are stored in the site, but zoho viewer has been taken down. I have now tried to implement google viewer and it is not working properly. Here is the code for the page I am trying to set up:

<?php ?>

<div class='clear-both'><br/></div>
<div>
<div class="onethird-col left vbot al_l">
<?php if ($item->is_first == false): ?>
<?php echo anchor("laws/item/" . $item->prev(), "< Previous Item"); ?>
<?php else: ?>
&nbsp;
<?php endif; ?>
</div>
<div class="onethird-col left vbot al_c"> <?php echo anchor("laws/", "Return to all laws"); ?> </div>
<div class="onethird-col left vbot al_r">
<?php if ($item->is_last == false): ?>
<?php echo anchor("laws/item/" . $item->next(), "Next Item >"); ?>
<?php endif; ?>
</div>
</div>


<iframe src="(URL address blocked: See forum rules)<?php echo $item->embed_link; ?>&embed=true" style="width:900px; height:700px;" ></iframe>


and that is my attempt to implement google viewer.

What do I need to do to fix this? Or is there another viewer I could use?

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 2 guests