Jump to content

Recommended Posts

OK guys I need some urgent help! this needs to be done asap and i am getting very stressed out about not completing this in time (need s to be done by like end of today 26-10-16).

I had to creat a layout diagram, and the create a layout in PHP that matchs the diagram (see attachment).

I can not for the life of me remember any of this stuff and am struggling to find the videos i used to help me... i need some urgent help to get it done...

 

I had to make a text adventure and they gave us this layout to use for it...

 

 
<?php
function renderLayout($areas) {
?>
<html>
<head>
<link href="[url=http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css]http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css[/url]" rel="stylesheet">
<link href="[url=http://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css]http://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css[/url]" rel="stylesheet">
</head>
 
<body>
<nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#"><i class="fa fa-bug"></i> Fire-bug</a>
</div>
</div>
</nav>
 
<div class="container target">
<div class="row">
<div class="col-sm-3">
</div>
 
<div class="col-sm-6" contenteditable="false" style="">
<?=$areas['content']?>
</div>
 
<div class="col-sm-3">
</div>
 
</div>
 
</div>
 
</body>
 
</html>
<?php
}
?>
 

Is this all i need to do for it or do i need other things onto it??

 

 

 Help would be greatly appreciated!!!

post-202717-0-39930200-1477461365_thumb.jpg

Edited by gizmola
Link to comment
https://forums.phpfreaks.com/topic/302409-php-layout/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.