Can't edit index page?

Took over site built as php store. When I view the site in browser, code view I see the head (below,) but when I view the index.php file in dreamweaver code view I just see the script, but no head or body. There is no index.html. Why is that? Need edits to title,body text etc.

edit: here’s the html the OP included in his post, w/bbcode code tags -

<!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" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>

It would help to see what you are talking about and when/if you do make sure you put the script in preformatted text so the code looks nicer.

here is the view of the index.php

Site-wide values should either be stored in a configuration .php file or in a database table or if someone hard-coded them, somewhere in the actual php code or in a template file.

You will need to examine the php code, starting with includes/application_top.php, until you find where the values you are interested in are being retrieved or defined.

When posting code on the forum, use bbcode [code]...[/code] tags around it. Pictures of your code make it harder to help you.

Professional scripts separates logic PHP code from the output, also called the view. It is very common to keep the view in separated files too. It could also be possible that the script uses a template parser. You will find out if it does when you have found the files with the HTML inside. They could even have an other extension than .php.

Sponsor our Newsletter | Privacy Policy | Terms of Service