当前位置: 首页>>代码示例>>PHP>>正文


PHP linkUrl函数代码示例

本文整理汇总了PHP中linkUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP linkUrl函数的具体用法?PHP linkUrl怎么用?PHP linkUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了linkUrl函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: redirect

function redirect($url, $alertmsg = '')
{
    if ($alertmsg) {
        addjAlert($alertmsg, $url);
    }
    header('Location: ' . linkUrl($url));
    exit;
}
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:8,代码来源:functions.php

示例2: linkUrl

$(function(){
	    $('#add1').click(function () {
        $('#tbb1').append('smallimage<input type="file" name="smallimage[]" class="span11" style="margin-top:5px;"/><br/>largeimage<input type="file" name="largeimage[]" class="span11" style="margin-top:5px;"/><br/>thumbimage<input type="file" name="thumbimage[]" class="span11" style="margin-top:5px;"/>');
		}); 
	   });
</script>
<h5>Add Smallimages</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>

            <div class="widget-content nopadding">
                <form role="form" method="post" class="form-horizontal" action="<?php 
echo linkUrl('image/add');
?>
" enctype="multipart/form-data">
 
					<div class="control-group">
                        <label class="control-label">Product Name</label>
                        <div class="controls">
							    <div class="input_fields_wrap">
								       <div>
									   
									   <select name="proid" class="span11" id="proid" >
									   <option>----Select Product Name----</option>
									   <?php 
foreach ($prod_row as $val) {
    ?>
									   <option value="<?php 
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:addimage.php

示例3: foreach

			<h5>Edit Size</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>
        <?php 
foreach ($row as $val) {
    ?>
                
                <div class="widget-content nopadding">
                <form role="form" method="post" class="form-horizontal" action="<?php 
    echo linkUrl('size/update');
    ?>
">
			    <div class="control-group">
                        <label class="control-label">Size</label>
                        <div class="controls">
                            <input type="hidden" name="hid" id="hid" value="<?php 
    echo $val['id'];
    ?>
">
							 <div class="input_fields_wrap">
                            <input type="text" name="size" value="<?php 
    echo $val['name'];
    ?>
" class="span11" placeholder="Enter Size" required>
							</div>
                        </div>
                </div>	
                    <div class="form-actions">
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:editsize.php

示例4: foreach

			<h5>Edit unit</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>
        <?php 
foreach ($row as $val) {
    ?>
                
                <div class="widget-content nopadding">
                <form role="form" method="post" class="form-horizontal" action="<?php 
    echo linkUrl('tax/update');
    ?>
">
		  <div class="control-group">
		    <input type="hidden" name="hid" id="hid" value="<?php 
    echo $val['id'];
    ?>
">
                           <label class="control-label">Tax type</label>
                        <div class="controls">
			    <div class="input_fields_wrap">
			      <div><input type="text" name="taxtype" value="<?php 
    echo $val['taxtype'];
    ?>
"  class="span11" required /></div>                     
                            </div>
                        </div>
		  </div>
		  <div class="control-group">
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:edittax.php

示例5: linkUrl

	    <div id="content" style="height:auto; width:100%;">
	    		<div class="item_listbox">
						<div style="width:200px; height:auto; float:left;">
								<div class="left_menulist2">
										<h4 class="heading5" style="padding-bottom:8px; border-bottom:1px solid #ccc; padding-left:10px;">CUSTOMER SERVICE</h4>
										<ul style="padding:0px; margin:0px;">
												<li style="background:#333;"><a href="<?php 
echo linkUrl('main/shipping/');
?>
" style="color:#fff;">Shipping Information</a></li>
												<li><a href="<?php 
echo linkUrl('main/returnpage/');
?>
">Returns</a></li>
												<li ><a href="<?php 
echo linkUrl('main/Information/');
?>
">Warranty Information</a></li>
												<li><a href="#">FAQs</a></li>
												<li><a href="#">Contact Us</a></li>
										</ul>
								</div>
						</div>
						<div style="width:711px; height:auto; float:left; margin-left:10px; border-left:1px solid #ccc; border-right:1px solid #ccc; padding:7px;">
								<div style="width:711px; min-height:680px; float:left;">
										<div style="width:700px; height:auto; float:left; background:#ccc; padding-left:10px; color:#444444; font-size:12px; padding-top:5px; padding-bottom:5px; margin-bottom:10px;">
										<span style="text-decoration:underline;"> ReturnsCustomer Service ></span> > Shipping Information
										</div>
										<h4 class="heading5" style="padding-bottom:8px; border-bottom:1px solid #ccc; width:100%;">Shipping Information</h4>
										<div style="width:100%; height:auto; float:left;">
												<p style="font-size:12px; color:#333;">
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:shipping.php

示例6: foreach

		</td>
        <td>
		<?php 
    foreach ($row3 as $vallll) {
        if ($val['subcat_id'] == $vallll['id']) {
            echo $vallll['subcategory_name'];
        }
    }
    ?>
		</td>
		<td><?php 
    echo $val['product_name'];
    ?>
</td>
		<td><a href="<?php 
    echo linkUrl('product/edit/?id=' . $val['id']);
    ?>
"><input type="button" name="editbutton" value="Edit" class="btn btn-primary btn-mini" /></a>
        &nbsp;
         <input type="button" name="deletebutton" onclick="deleteproduct(<?php 
    echo $val['id'];
    ?>
)" class="btn btn-danger btn-mini" value="Delete" /></td>
    </tr>
    <?php 
}
?>
     </tbody>
    </table>
    
 </div>
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:viewproduct.php

示例7: foreach

			<h5>Edit Image</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>
        <?php 
foreach ($image_row as $val) {
    ?>
                
                <div class="widget-content nopadding">
                <form role="form" method="post" class="form-horizontal" action="<?php 
    echo linkUrl('homeimage/update');
    ?>
" enctype="multipart/form-data">
				
					
                    <div class="control-group">
                        <label class="control-label">Banner Image</label>
                        <div class="controls">
							    <div class="input_fields_wrap">
								       <div>
									   <input type="hidden" name="hid" value="<?php 
    echo $val['id'];
    ?>
"/>
									  <input type="file" name="bannerimage" class="span11"  />
									 <?php 
    $image = $val['banner_images'];
    $path = WEB_DOMAIN;
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:30,代码来源:edithomeimages.php

示例8: linkUrl

                </div>
                <div class="menu">
                    <a href="<?php 
echo linkUrl('search/getofferproduct');
?>
" style="text-decoration: none;">Offers</a>
                </div>
                <div class="menu">
                    <a href="<?php 
echo linkUrl('search/getnew');
?>
" style="text-decoration: none;">New Arrivals</a>
                </div>
                <div class="menu">
                    <a href="<?php 
echo linkUrl('main/categoryproduct/?catid=19');
?>
" style="text-decoration: none;">Personalcare</a>
                </div>
                <div class="menu">
                    <a href="<?php 
echo linkUrl('main/inde');
?>
" style="text-decoration: none;">Office Stationary</a>
                </div>
                <div class="menu">
                    <a href="<?php 
echo linkUrl('main/categoryproduct/?catid=20');
?>
" style="text-decoration: none;">Patanjali</a>
                </div>
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:topmenu.php

示例9: linkUrl

<h5>Add Category</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>

                
            <div class="widget-content nopadding">
                <form role="form" method="post" class="form-horizontal" action="<?php 
echo linkUrl('maincategory/add');
?>
" enctype="multipart/form-data">
                   <div class="control-group">
                           <label class="control-label">Category Name</label>
                        <div class="controls">
			       <div class="input_fields_wrap">
			       <div><input type="text" name="categoryname" id="categoryname" class="span11" placeholder="Enter Category Name" required /></div>                     
                               </div>
                        </div>
                    </div>
		   <div class="control-group">
                           <label class="control-label">Images</label>
                        <div class="controls">
			       <div class="input_fields_wrap">
			       <div><input type="file" name="image" id="image" class="span11"  /></div>                     
                               </div>
                        </div>
                    </div>
                    <div class="form-actions">
						<button type="submit" name="submit" class="btn btn-success">Submit</button>
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:addmaincategory.php

示例10: str_replace

								       <div>
									  <input type="file" name="largeimage[]" class="span11"  />
									 <?php 
    $largeimage = $val['largeimage'];
    $path = WEB_DOMAIN;
    $str = str_replace('/admin', '/', $path);
    $expimgg = explode('|', $largeimage);
    foreach ($expimgg as $key => $valuee) {
        if ($valuee != '') {
            ?>
									  <img src="<?php 
            echo $str . $valuee;
            ?>
" width="60"/>
									  <a href="<?php 
            echo linkUrl('image/delete_img/?id=' . $val['id'] . '&img=' . $valuee . '&dbimg=' . $largeimage . '&prodid=' . $val['product_id']);
            ?>
"><img src="../../../image/cross.png" width="16" /></a>
									  <input type="hidden" name="oldlargeimage" value="<?php 
            echo $largeimage;
            ?>
"/>
									  <?php 
        }
    }
    ?>
									   </div>  
									<div id="tbb1"></div>	
                                    <div> <input type="button" name="button" value="addnew" class="button" id="add1" style="margin-top:5px;"/></div>									   
                                </div>
                        </div>
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:editimage.php

示例11: linkUrl

    echo $reletedproduct['sale_price'];
    ?>
</span>
                        </h5>
			<?php 
    if (!$_SESSION['username']) {
        ?>
			<img src="/<?php 
        echo $folder;
        ?>
/images/cart.png" style=" margin-top: 10px;height: 30px;"/>
			<?php 
    } else {
        ?>
                        <a href="<?php 
        echo linkUrl('main/productcart/?prod_id=' . $reletedproduct['id']);
        ?>
"><img src="/<?php 
        echo $folder;
        ?>
/images/cart.png" style=" margin-top: 10px;height: 30px;"/></a>
			<?php 
    }
    ?>
                    </div>
                </div>
		<?php 
}
?>
		
            </div>
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:offerproductdetails.php

示例12: foreach

			<h5>Edit Color</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>
        <?php 
foreach ($row as $val) {
    ?>
                
                <div class="widget-content nopadding">
                <form role="form" method="post" class="form-horizontal" action="<?php 
    echo linkUrl('color/update');
    ?>
">
			    <div class="control-group">
                        <label class="control-label">Color</label>
                        <div class="controls">
                            <input type="hidden" name="hid" id="hid" value="<?php 
    echo $val['id'];
    ?>
">
							 <div class="input_fields_wrap">
                            <input type="color" name="color" value="<?php 
    echo $val['name'];
    ?>
" class="span11"  required>
							</div>
                        </div>
                </div>	
                    <div class="form-actions">
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:editcolor.php

示例13: linkUrl

?>
">
            <i class="glyphicon glyphicon-star green"></i>

            <div>Payments</div>
            <div><?php 
echo $paymenttotal;
?>
</div>
            <span class="notification green"></span>
        </a>
    </div>

    <div class="col-md-3 col-sm-3 col-xs-6">
        <a data-toggle="tooltip" title="34" class="well top-block" href="<?php 
echo linkUrl('main/attendancedetails/?date=' . $date);
?>
">
            <i class="glyphicon glyphicon-list-alt yellow"></i>

            <div>Attendance</div>
            <div><?php 
echo $attendancecount;
?>
</div>
            <span class="notification yellow"></span>
        </a>
    </div>

    <div class="col-md-3 col-sm-3 col-xs-6" style="display:none;">
        <a data-toggle="tooltip" title="12 new messages." class="well top-block" href="#">
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:homeheader.php

示例14: linkUrl

</style>
</head>
<body>
    <?php 
include_once 'topbar.php';
?>
    <?php 
include_once 'numtoword.php';
?>
    
    <div id="banner" style="height: auto;">
        <div id="banner_content" style="height: 0px;">
            <div id="menubar">
                <div class="menu">
                     <a href="<?php 
echo linkUrl('main/index');
?>
">Home</a>
                </div>
                <div class="menu">
                    Categories
                </div>
                <div class="menu">
                    Offers
                </div>
                <div class="menu">
                    New Arrivals
                </div>
            </div>
            
            
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:29,代码来源:bill.php

示例15: linkUrl

<h5>Add Banner images</h5> 
			<hr>           
             <div class="span6">
              <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-align-justify"></i> </span>
                </div>

            <div class="widget-content nopadding">
			
                <form role="form" method="post" class="form-horizontal" action="<?php 
echo linkUrl('specialbox/add');
?>
" enctype="multipart/form-data">	
                     <div class="control-group">
                        <label class="control-label">Banner Heading</label>
                        <div class="controls">
							    <div class="input_fields_wrap">
								       <div>
									  <input type="text" name="heading" id="heading" class="span11" required  />
									   </div> 
																		   
                                </div>
                        </div>
                    </div>
                      <div class="control-group">
                        <label class="control-label">Banner Description</label>
                        <div class="controls">
							    <div class="input_fields_wrap">
								       <div>
									  <textarea class="span11"  name="desc" id="desc" required></textarea>
									   </div> 
开发者ID:jyotiprava,项目名称:45serverbackup,代码行数:31,代码来源:addspecialbox.php


注:本文中的linkUrl函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。