inphiniti's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
8 (0.01 per day)
Joined:
23-January 11
Profile Views:
1,108
Last Active:
User is offline Aug 29 2013 01:55 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   inphiniti has not set their status

Posts I've Made

  1. In Topic: CSS - DIVs

    Posted 29 Aug 2013

    yea was afraid of that... thanks for the help and info. though :)
  2. In Topic: CSS - DIVs

    Posted 29 Aug 2013

    This is my product details page;
    details.php

    <?php /*?></head>
    
    <body><?php */?>
    <div id="Container">
    <section class="banner_area">
    <div id="Details">
        <?php /*?><?php echo($cartweaver->cartLinks());?><?php */?>
    <?php include("cw2/CWIncDetails.php");?>
    </div>
    </section>
    <?php include("footer_withoutproduct.php");?>
    
    


    Its currently in my container and this is the include CWIncDetails.php....
    <?php 
    /* 
    ================================================================
    Application Info: 
    Cartweaver© 2002 - 2005, All Rights Reserved.
    Developer Info: 
    	Application Dynamics Inc.
    	1560 NE 10th
    	East Wenatchee, WA 98802
    	Support Info: http://www.cartweaver.com/go/phphelp
    
    Cartweaver Version: 2.4  -  Date: 11/27/2005
    ================================================================
    Name: CWIncDetails.php
    Description: 
    	This page displays individual products along with all
    	of the product's associated SKUs. If a product has only 1 or
    	2 Option Groups, then select menus are shown for the customer to
    	choose the desired SKUs. If more than 2 Option Groups are available
    	for one product, then a crosstab table is displayed with all
    	of the SKUs available. Options are handled through the
    	CWFunProductOptions include file.
    ================================================================
    */ 
    include("CWLibrary/CWFunProductOptions.php");
    /* [ START ] DISPLAY PRODUCT */ 
    if($rsCWGetProduct_recordCount != 0) {
    	$imageSRC = $imageRoot . $row_rsCWGetProductImage["prdctImage_FileName"];
    	$imagePath = expandPath($imageSRC);
    ?>
    <?php /* Check for Weekly Web Specials and display graphic if so */
    if ($row_rsCWGetProduct["product_WeeklySpecial"] == 1) { ?>
    	<div id="Weekly_special">
    		<img src="http://demo.ortho-direct.com/weekly/weekly_special.gif" alt="Weekly Web Special" />
        </div>
    <?php } ?>
    <?php /* Check for Flyer Specials and display graphic if so (also make sure this is not a web special) */
    if ($row_rsCWGetProduct["product_FlyerSpecial"] == 1 && $row_rsCWGetProduct["product_WeeklySpecial"] != 1) { ?>
    	<div id="Weekly_special">
    		<img src="http://demo.ortho-direct.com/images/specials_flyer_burst.jpg" alt="Special Price" />
        </div>
    <?php } ?>
    <!-- Display Common Product data -->
    <div id="ProductImage">
     <?php if (file_exists($imagePath) && is_file($imagePath)){ ?>
    			<img name="prodimgrp" src="<?php echo($imageSRC);?>" alt="<?php echo($row_rsCWGetProduct["product_Name"]);?>"> 
    		<?php }?> 
    </div>
    <div id="ProductDescription">
    	<!-- Anchor point for when form is submitted -->
    	<a name="skus"></a>
    	<div id="Manufacturer">
    		<?php 
    		$mfg = strtoupper($row_rsCWGetProduct["product_mfg"]);
    		if ($mfg == "ORTHODENT") {
    			echo('<img src="images/OrthodentLogo.gif" alt="Orthodent" width="100" height="15" />');
    		} else if ($mfg == "SELECT DENTAL") {
    			echo('<img src="images/SelectLogo.gif" alt="Select Dental" width="100" height="25" />');
    		} else if ($mfg == "BLAZER") {
    			echo('<img src="images/BlazerLogo.gif" alt="Blazer Products" width="100" height="24" />');
    		} else {
    			echo($mfg);
    		}
    		?>
    		</div>
    	<h1><?php echo($row_rsCWGetProduct["product_Name"]);?></h1>
    	<h2><?php echo($row_rsCWGetProduct["product_Subheader"]);?></h2>
    	<p><?php echo($row_rsCWGetProduct["product_Description"]);?></p>
    </div>
    <div id="ProductOptions">
    	<?php
    	/* WEEKLY SPECIALS */
    	/* If Weekly Special and Discount and Regular Price fields are not NULL or 0... */
    			if ($row_rsCWGetProduct["product_WeeklySpecial"] == 1 && $row_rsCWGetProduct["product_WeeklySpecialPrice"] != NULL && $row_rsCWGetProduct["product_RegularPrice"] != NULL
    				&& $row_rsCWGetProduct["product_WeeklySpecialPrice"] != 0 && $row_rsCWGetProduct["product_RegularPrice"] != 0) {
    				echo('<span class="regprice">Reg. ' . cartweaverMoney($row_rsCWGetProduct["product_RegularPrice"]) . '<br></span>
    					<span class="webspecialprice">Web Special- ' . cartweaverMoney($row_rsCWGetProduct["product_WeeklySpecialPrice"]) . '</span>');
    			}
    	/* FLYER SPECIALS */
    	/* If Flyer Special and Flyer Discount and Catalog Regular Price fields are not NULL or 0... */
    			if ($row_rsCWGetProduct["product_FlyerSpecial"] == 1 && $row_rsCWGetProduct["product_FlyerSpecialPrice"] != NULL && $row_rsCWGetProduct["product_CatalogRegularPrice"] != NULL
    				&& $row_rsCWGetProduct["product_FlyerSpecialPrice"] != 0 && $row_rsCWGetProduct["product_CatalogRegularPrice"] != 0 && $row_rsCWGetProduct["product_WeeklySpecial"] != 1) {
    				echo('<span class="regprice">Reg. ' . cartweaverMoney($row_rsCWGetProduct["product_CatalogRegularPrice"]) . '<br></span>
    					<span class="webspecialprice">Special Price- ' . cartweaverMoney($row_rsCWGetProduct["product_FlyerSpecialPrice"]) . '</span>');
    			} else if ($row_rsCWGetProduct["product_FlyerSpecial"] == 1 && $row_rsCWGetProduct["product_FlyerSpecialPrice"] == 0 && $row_rsCWGetProduct["product_CatalogRegularPrice"] == 0 && $row_rsCWGetProduct["product_WeeklySpecial"] != 1) {
    				echo('<span class="specialPrice">Special Low Prices!</span>');
    			}
    	?>
    	<!-- [ START ] SKUs DATA TABLE --> 
    	<?php 
    		if (strtolower($cartweaver->settings->detailsDisplay) != "tables") { 
    			include("CWLibrary/CWFunPriceList.php");
    			echo(getPriceList($row_rsCWGetProduct["product_ID"], $cartweaver->settings->allowBackOrders, $cartweaver->db));
    		} 
    	/*  [ START ] ==	ERROR ALERTS and CONFIRMATION NOTICE =========================  */
    	if ($cartweaver->getCWError()){
    	/* If fields were left blank or in correct data entered, show "Field Alert" */
    ?>
    	<p><span class="errorMessage"><?php foreach($cartweaver->cwError as $key => $value) echo($value);?></span></p> 
    	<?php 
    	}
    	if ($urlResult >= 0) {
    	echo("<p><strong>* $urlResult");
    		if ($urlResult > 1 or $urlResult == 0) {
    			echo(" items ");
    		}else{
    			echo(" item ");
    		}
    		echo("added to your cart! * <a href=\"" . $cartweaver->settings->targetGoToCart . "?cartid=" . $_SESSION["CartId"] . "&returnurl=" . $cartweaver->thisPageQS . "\">[Go To Cart]</a></strong></p> ");
    	} 
    
    /*  [ END] ==  ERROR ALERTS and CONFIRMATION NOTICE =========================  */
    /* ===================== [ BEGIN MULTI SKU DISPLAY ]=========================================== */ 
    ?>
    </div>
    <div id="SKUTable2">
    <?php
    if ($displayUpsell == 1){
     /* If there are upsell products associsted with this Product, display them. */
      if ($rsCWGetupsell_recordCount != 0) { 
    		echo('<span class="upsell">');
    		if($rsCWGetupsell_recordCount > 1){
    			echo("Related Products:");	   
    		}else{
    			echo("Related Products:");
    		}
    		   echo("</span><br><br>");
    		$rsCWGetupsell_currentRow = 0;
    		?> <?php /*?><div id="Related-products"> <?php
    		do { ?>
    		<div class="upsellimages">
            <?php
    		$rsCWGetupsell_currentRow++;
    			$upsell_imageSRC = "cw2/assets/product_thumb/" . $row_rsCWGetupsell["prdctImage_FileName"];
    			echo("<a href=\"" . $cartweaver->thisPage . "?prodId=" . $row_rsCWGetupsell["upsell_relProdId"] . "\">"); ?>
    			<img src="<?php echo($upsell_imageSRC);?>" alt="<?php echo($row_rsCWGetupsell["product_Name"]);?>"></a> <br />
    			<?php
    		
    		  echo("<a href=\"" . $cartweaver->thisPage . "?prodId=" . $row_rsCWGetupsell["upsell_relProdId"] . "\">" . $row_rsCWGetupsell["product_Name"] . "</a>");
    		  ?> </div> <?php
    		  //if (($rsCWGetupsell_recordCount > 1) && ($rsCWGetupsell_recordCount != $rsCWGetupsell_currentRow)){ echo("<br />");}
    	   } while ($row_rsCWGetupsell = $cartweaver->db->db_fetch_assoc($rsCWGetupsell));
    	   ?> </div> <?php */?>
    	   <section class="widget_area_details">
        	<ul> <?php $flag=0; 
    		do { ?>
    		<li>
            <div class="picbox">
            <?php				
    		$flag++;
    		$rsCWGetupsell_currentRow++;				
    			$upsell_imageSRC = "cw2/assets/product_thumb/" . $row_rsCWGetupsell["prdctImage_FileName"];
    			echo("<a href=\"" . $cartweaver->thisPage . "?prodId=" . $row_rsCWGetupsell["upsell_relProdId"] . "\">"); ?>
    			<img src="<?php echo($upsell_imageSRC);?>" alt="<?php echo($row_rsCWGetupsell["product_Name"]);?>"></a> <br />
    			<?php
    		
    		  echo("<a href=\"" . $cartweaver->thisPage . "?prodId=" . $row_rsCWGetupsell["upsell_relProdId"] . "\">" . $row_rsCWGetupsell["product_Name"] . "</a>");
    		  
    		  ?> </div>
              </li> <?php
    		  if($flag==4)
    		  	{
    		  		break;
    			}
    		  //if (($rsCWGetupsell_recordCount > 1) && ($rsCWGetupsell_recordCount != $rsCWGetupsell_currentRow)){ echo("<br />");}
    	   } while ($row_rsCWGetupsell = $cartweaver->db->db_fetch_assoc($rsCWGetupsell));
    	   ?> </ul></section> <?php
    	  echo("
        <br /><br />");
     }/* END IF - rsCWGetupsell.RecordCount NEQ 0 */	
    }/* END if ($displayUpsell == 1) */
    ?>
    
    <?php 
    /* [ END ] DISPLAY PRODUCT */ 
    }else{ 
    	echo("<p>No product selected.</p> ");
    }
    /* End Check for Product ID */ 
    ?>
    </div>
    <div id="SKUTable">
    <form action="<?php echo($cartweaver->thisPage . "?cartid=" . $_SESSION["CartId"]);?>" method="post" name="addToCart" id="addToCart">
    <?php cwProductOptions($productId);?>
    	<input name="prodId" type="hidden" value="<?php echo($productId);?>">
    	<input name="submit" type="hidden" value="Add to Cart">
    	<br />
        
    	<!-- <input name="submit" type="image" id="addToCart" value="Add to Cart" class="imageButton" src="/images/add_to_cart.jpg" /> -->
    	<!-- <input name="submit" type="submit" class="butAddToCart" value="Add to Cart"> -->
    	<input name="imageButton" type="image" id="imageButton" value="imageButton" class="imageButton" src="images/add_to_cart.jpg" />
        
    </form>
    </div>
    
    




    the cw2/CWIncDetails.php file is a Cartweaver script... im not the good with php but know enough to get by.... would i have to start taking apart the 'CWIncDetails.php file to put it section by section into the 'details.php' file so I can put it into a Left column / Right Column or is there a way I can just do it in the CWIncDetails.php File?
  3. In Topic: CSS - DIVs

    Posted 29 Aug 2013

    theres other way of doin huh? I thought I would have been able to get away with fixing the z-index of the divs 1 + 3
  4. In Topic: CSS - DIVs

    Posted 29 Aug 2013

    Div1
    #ProductImage {
    text-align: center;
    float: left;
    width: 250px;
    text-align: center;
    margin-left: 10px;
    margin-right: 30px;
    padding-right: 5px;
    margin-bottom: 10px;
    margin-top: 20px;}
    
    

    Div2
    #ProductDescription {
    margin-top: 10px;
    margin-left: 300px;
    z-index: 2;
    padding-right: 25px;
    }
    
    

    Div3
    #SKUTable2 {
    margin-top: 20px;
    clear: left;
    float: left;
    width: 250px;
    }
    
  5. In Topic: CSS - DIVs

    Posted 29 Aug 2013

    and here it is when div3's height is larger
    Posted Image

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

inphiniti hasn't added any friends yet.

Comments

inphiniti has no profile comments yet. Why not say hello?