Jump to content

divinedesigns1

Members
  • Posts

    1,200
  • Joined

  • Last visited

Posts posted by divinedesigns1

  1.  

    $loadcontent has actually the right value, in fact when I press the edit button the content of my txt file appears! When I click on Save on the form I have that error.

     

    About the deleting code, I tried to comment the $path variable but I got the same result. It's a mess!! :D

    for the delete, you have this page "$path = '../public/events';" but the script can ot find it since 2.txt isnt located properly so you might want your path to be $path = '../public/events/';

  2. I did that something like this:

     

     

    $category_data = array();while ($row = mysql_fetch_object($category_query)) { $category_data[] = array( "category id" => $row->category_id, "category name" => $row->category; ); $sub_query = mysql_query("SELECT * FROM subcategories WHERE category_id ='".$row->category_id."';"); $num_subcategory = mysql_num_rows($sub_query); if($num_subcategory > 0){ while ($sub_row = mysql_fetch_object($sub_query) { $subcategory_id[] = $sub_row->subcategory_id; $subcategory_name[] = $sub_row->subcategory;

    }

    }

     

     

    then i have to take it into $category_data[ ] array..that is where i get the error..

    what does the error say? and you might want to remove those spaces from category id and name also remove the [] from them

  3. @inglome

    every category has a sub category, i want the category id and then run the select query to find all the subcategories inside each categories and then save it to an array.

    then you would need a column in subcategories to have the category id, so you can get the query to find all the subcategory for that id

  4. ditch the welcome screen, otherwise nice wesite although design is kinda of in your face

    yeah, but like I was telling angel, that's how the client asked for it to be done, now I can remove it if another client asked to use that template with a different theme I can take you up on ur advice and remove it.....but I do agree with you on ditching the welcome page
  5. The floated elements styling is causing the non floated content to merge with it, normally you would use overflow: hidden; on menu container to prevent float seeping to cause this problem, but as you need image to show outside the menu container, use clear: both; on #content instead.

    thanks

  6. hey guys i have a problem that only appears to be having in firefox, the content section is all the way to the right whiles in other browsers even IE its position as it should

    codes at the bottom

    <div id="container">	<div id="menu">   	  <div class="menu">      	<div id="nav">    		<div class="btn"><a class="cp_menu active" href="index.html" onclick="return false">Home</a></div>            <div class="btn"><a class="cp_menu" href="index.html" onclick="return false">About Us</a></div>            <div class="btm"><a href="index.html"><img src="images/DDS1 2012 logo.png" alt="DDS1" width="345" height="242" border="0" /></a></div>            <div class="btn"><a class="cp_menu" href="index.html" onclick="return false">Services</a></div>            <div class="btn"><a class="cp_menu" href="index.html" onclick="return false">Projects</a></div>        </div>      </div>    </div>    <div id="content">    	<div class="content">        	<div class="article">        <p>Website is under maintenance</p>        <p>Contact Us @ dwayne@divinedesigns1.com</p>        <p>for any enquire and we will response as soon as possible</p>         	</div>        </div>      <div class="space">        	<div id="space">        	  <div class="btno"><span style="width:100%; height:200; margin:0px; padding:0px;">Projects</span></div>                <div class="btno"><img src="../../../Users/SAMSUNG/Desktop/Florida-Website-Design.jpg" width="185" height="122" /></div>                <div class="btno"><img src="../../../Users/SAMSUNG/Desktop/Turnkey-Website-2.0.jpg" width="185" /></div>              <div class="btno">Write Us</div>            </div>   	  </div>    </div></div>

    and this is the css

    #menu {	width:100%;	height:69px;	position:relative;	top:100px;	background:url(../images/menu.png);	background-position:center;	background-repeat:no-repeat;}#menu .menu {	width:90%;	height:48px;	position:relative;	/*border:1px solid #fff;*/	margin:0px auto;	top:10px;}#nav {	width:720px; height:48px; margin:0px auto;}.menu .btn {	width:70px; float:left; height:29px; text-align:center; line-height:35px; padding:10px;;}.menu .btn a {	padding:10px 5px;	text-align:center;	color:#900;	text-decoration:none;}.menu .btn a:hover {	text-align:center;	color:#07CDCE;	text-decoration:none;	width:70px;	border-bottom:1px solid #fff;	border-top:1px solid #fff;	padding-bottom:12.5px;	padding-top:17px;}.btn a.cp_menu {	padding:10px 5px;	text-align:center;	color:#900;	text-decoration:none;}.btn a.cp_menu.active {	text-align:center;	color:#07CDCE;	text-decoration:none;	width:70px;	border-bottom:1px solid #fff;	border-top:1px solid #fff;	padding-bottom:12.5px;	padding-top:17px;}.menu .btm {	width:338px; height:239px; float:left; position:relative; top:-24px;}#content {	width:100%;}#content .content {	width:93.5%;	overflow:auto;	padding-bottom:40px;	margin:0px auto;	border:1px solid #000;	background: #E9EDEE;}#content .content .article {	width:98%;	padding:85px 10px 10px 10px;	margin:0px auto;	text-align:justify;	/*background: #E9EDEE url(../images/content.jpg) no-repeat center top;*/}

    i have been over this a few times now and nothing have changed, so if you could help i would appreciate it

  7. Yes that is correct. I am not a hip hop fan myself and just interested in learning basic principles and different ideas about web design at the moment. So you mean originally there would have been things to look at over on the right then?

    I'm still a bit baffled about having a "click to enter" screen. I mean in a real live website mostly we would get to some internal page directly via a Google would we not?

    not really, its the theme of the website, theres many other websites like this one.........also this isnt a hip hop group its a rap group and yes originally there were more things to view but since it was cancel everything gets stuff how it is

  8. I just popped in and immediately jumped to conclusion must be a pop group sharing their performances with their fans. No doubt it is expected that the visitors are fans who are there intentionally for some freebies, to know where your next gig is, or maybe even to buy something?!

    My first impression is that you need pictures of the stars & recent video and maybe a sount track we can play while readings the home page. The About Us section wants to talk about "we" in the first person, not "them" 3rd person IMO.

    I see no advantage to having a "click to enter screen" or half the page just this green and grey logo nothing and would much rather see photos of their latest gig so I could think ... I don't want to miss the next one!

    guessing you did not go through the whole website? the about us section was written by one of the members of GOE, who i do not believe took their time to write, and what you mean "or half the page just this green and grey logo nothing", kindly be advice that this website was discontinued, so there wouldnt be any photos of the group members

  9. OMG... thanks for telling me. I never got that warning yet! I have just noticed my downloads page is not working at all even though the very same links work fine from youtube. IDK what is going on these days. To me it seems the industry is shoving individuals off the internet completely :'(

    i have internet protection, so it give me a warming before i could get to the page

  10. People are telling me they get bugs on my site http://piedpiper.site40.net/index.html?sample=voter/poll_test.html and I can't reproduce them. I suspect it may be browser incompatabilities with jQuery and I wonder if other people see them as well. If you have a spare moment please vote on my opinion poll there... but if that doesn't work either then please let me know what happened.

    Thanks in advance :o)

    its stating that your website have a virus

  11. Don't use position absolute on menu big headache will like occur, its difficult to understand what you really want? IF you want to make the logo image not occupy any space and not interfere with other menu items, take it out the flow using position: absolute on it instead OR its container parent elements with at least top and left properties defined, BUT you MUST also use position: relative; on #menu to contain it.

     

    Edit:

    alright, ill try your way once i get home, since astralaaron way worked

  12. i have been messing around with a new style of design *new to me* but my logo keep pushing down my header images, and i would like to know how i can make the logo hang over the header and not push the images down or the header div down

    <div id="menu"><div id="top" style="width:100%; height:50px; background-color:#090;"><div class="menu" style="width:1024px; height:50px; margin:0px auto; text-align:center;"><div class="nav" style="width:780px; margin:0px auto; height:50px;"><div class="buttons" style="height:50px; color:#fff; width:80px; line-height:50px; text-align:center; float:left; margin-left:10px;"><a href="">HOME</a></div><div class="buttons" style="height:50px; color:#fff; width:80px; line-height:50px; text-align:center; float:left; margin-left:10px;"><a href="">ABOUT</a></div><div class="img" style="height:208px; color:#fff; width:360px; text-align:center; float:left; margin-left:10px; position:relative;"><a href=""><img src="DDS1 2012 logo.png" width="306" height="208" border="0" /></a></div><div class="buttons" style="height:50px; color:#fff; width:80px; line-height:50px; text-align:center; float:left; margin-right:20px;"><a href="">SERVICES</a></div><div class="buttons" style="height:50px; color:#fff; width:80px; line-height:50px; text-align:center; float:left; margin-left:10px;"><a href="">PROJECTS</a></div></div></div></div></div><div id="header" style="width:100%; height:200px; position:relative; z-index:0;"><img src="RA-Banner.jpg" width="1024" height="225" /></div>

    the red text are the codes for the logo which is pushing down the header, i used absolute and relative but those did not work for the logo div, instead it moved the div out of placed, any help or tips would be appreciated

  13. It looks very appealing and the pages are not too busy.

     

    I did notice that when I mouse over "Contact", then the word "Us" appears in the middle of the lines below. (That's with FireFox BTW). I suspect it is buglet?

     

    I am at the moment trying to learn about how web pages scale to different screen resolutions and was wondering if having a fixed size page layout like this is the way to go, because evidently I can just zoom in and out with the mouse wheel to make it fit. Imagining someone with poor eye sight I tried zooming in to get big letters, but then it won't let me scroll sideways.

    thats weird because it allow me to scroll side to side, but then again im not using FF, and ill take a look at the contact us button, thanks for bring it to my attention

  14. Hey I got the file put contents working but how can I move it automatically outside the admin page? I might have a little more question about this :) trying to make a new control panel something simple but yet user friendly

  15. tell us what the problem is then. that would be better than asking for ways to let people just write scripts directly on your server. >.<

    there's no problem, just a client wanted to create a extra tab and i didnt feel the need to go and make the page, then upload it, so i though by creating a way that allow me to make the tab and the page dynamically would save time. thats all

×
×
  • Create New...