Exemple #1
26
    <?php 
echo validation_errors('<p class="ui-state-error ui-corner-all">', '</p>');
?>

        
<div class="pagecontent-left">
        <h4>Profile Picture</h4>
    <p>Your profile appears on every page, picture must be in GIF, JPEG or PNG format and cannot be more then 100 pixels wide.</p>
    <div id="showlogo" class="ui-corner-all">
        <?php 
// if company logo is in FB
if ($user_detail['profile_pic'] != NULL || $user_detail['profile_pic'] != '') {
    // @todo add file exists checking here
    ?>
            <div class="logo"> <?php 
    echo img_tag($user_detail['profile_pic'], ' alt="' . $user_detail['first_name'] . '"', 'profile');
    ?>
 </div>
            <p class="margin-bottom"><a href="javascript:void(0);" id="delaction" onclick="javascript:del_ppic('<?php 
    echo $user_detail['uid'];
    ?>
');">Delete this picture</a></p>
        <?php 
}
?>
        <?php 
$upload_picture = array('name' => 'upload_picture', 'id' => 'upload_picture', 'class' => 'ui-corner-all');
echo form_open_multipart('users/picture_upload');
echo form_upload($upload_picture);
echo form_submit('submit', 'Upload Now', 'class="ui-corner-all block margin-top"');
echo form_close();
Exemple #2
0
 public static function mapaGoogle($x, $y, $zoom = 15, $alt = "", $w = 400, $h = 400)
 {
     $params["src"] = 'http://maps.google.com/maps/api/staticmap?center=' . $x . ',' . $y . '&zoom=' . $zoom . '&size=' . $w . 'x' . $h . '&sensor=false&markers=color:red|' . $x . ',' . $y . '';
     if ($alt != "") {
         $params["alt"] = str_replace(":", "###", $alt);
         $params["title"] = str_replace(":", "###", $alt);
     }
     if ($w != "") {
         $params["width"] = $w;
     }
     if ($h != "") {
         $params["height"] = $h;
     }
     $params["border"] = "0";
     return str_replace("###", ":", img_tag($params));
 }
Exemple #3
0
 public static function imagen($imagen, $alt = "", $w = 0, $h = 0)
 {
     $params = is_array($imagen) ? $imagen : Util::getParams(func_get_args());
     if ($alt != "") {
         $params["alt"] = str_replace(":", "###", $alt);
         $params["title"] = str_replace(":", "###", $alt);
     }
     if ($w != "") {
         $params["width"] = $w;
     }
     if ($h != "") {
         $params["height"] = $h;
     }
     $params["border"] = "0";
     return str_replace("###", ":", img_tag($params));
 }
Exemple #4
0
function uploaded_file_tag(moojon_base_model $model, $column_name, $mime_type_column = null)
{
    $value = $model->{$column_name};
    if ($value) {
        if (!$mime_type_column) {
            $mime_type_column = $column_name . '_' . moojon_config::get('mime_type_column');
        }
        $mime_type = $model->has_column($mime_type_column) ? $model->{$mime_type_column} : moojon_files::get_mime_content_type($value);
        $path = moojon_paths::get_public_column_upload_path($model, $column_name);
        if (substr($mime_type, 0, 5) == 'image') {
            $content = img_tag($path, $model);
        } else {
            $content = $path;
        }
        return a_tag($content, $path, array('target' => '_blank'));
    } else {
        return p_tag('Not set');
    }
}
Exemple #5
0
	
	<h3>The 3D Methodology : Definition, Development, Deployment</h3>
	<p>This is the life cycle of a typical large-scale Stormlab web application. We can adapt this methodology to suit any size engagement - from a year long deployment to a straightforward five page site.</p>
	<p><?php 
echo img_tag('method_chart.gif');
?>
</p>
	
	<div id="definition_blurb">
		<h4 id="definition"><span>Definition</span></h4>
		<div id="definition_body"><div>
			<h5 id="project_management">Project Management</h5>
			<p>Our methodology focuses on identifying the key decision points of the development effort, prototyping various options and engaging with the client to resolve key issues. Typically, we conduct status calls twice weekly to review progress against a project plan, resolve issues, and prioritize next steps. Every project is tracked via <a href="http://www.basecamphq.com/">Basecamp</a>. This allows clients to ask questions, monitor daily progress on a daily basis and interact with the team.</p>
			<h5 id="business_requirements_definition">Business Requirements Definition</h5>
			<p>Stormlab analysts document the details and full scope of the proposed solution from a marketing, design, branding and information architecture standpoint. If neccessary, time is spent interviewing both the client and potential users in an effort to construct &#8216;personas&#8217; that will help inform the development of every aspect of the web site.</p>
			<h5 id="optional_brand_identity_design">Optional Brand Identity Design</h5>
			<p>If required, the brand experts at Stormlab can assist in the creation of a corporate identity. We begin with an extensive round of initial designs imbued with the attributes of the brand that were identified during the definition of the business requirements. </p>
			<h5 id="technical_architecture">Technical Architecture</h5>
			<p>At this point we define the technical architecture for a project. Our proposed solutions include a complete staging area for development version that mirrors the setup of the ultimate, &#8216;live&#8217; site. We typically advocate the use of a third-party data center with leased servers. This is a highly flexible option that allows for rapid growth while still managing risk. An added benefit is the reduced need for in-house or contracted server admin experts.</p>
		</div></div>
	</div>
	
	<div id="development_blurb">
		<h4 id="development"><span>Development</span></h4>
		<div id="development_body"><div>
			<h5 id="database_design_and_construction">Database Design and Construction</h5>
			<p>All key data points will be mapped out and organized into logical groups. Data will be normalized to the degree that best suits a flexible storage, maintenance and reporting scenario. Data replication and backup scenarios will also be planned and discussed in this phase of development. An emphasis will be placed upon flexibility and long-term growth capability in terms of the actual schema.</p>
			<h5 id="application_design_and_construction">Application Design and Construction</h5>
			<p>The Stormlab team works together with the client to create a rough, working model of the site in HTML. By rapid protoyping we can greatly speed up the development process and focus on the user experience first and foremost. The end result, complete with written documentation, serves as a three dimensional blueprint for the project lifecycle.</p>
			<p>Next, Stormlab designers will create several versions of the Graphical User Interface (GUI). Upon approval of the general GUI, we create the individual page-level graphics. Utilizing our in-house marketing team we will create designs that use color, typography, iconography and photography to bring the brand to life.</p>
			<p>The approved site assets and style guides are passed to the programming team. Using the deliverables from the rough prototype, the production process moves swiftly. Stormlab takes care of the client side coding (XHTML/CSS) and the backend engineering bringing everything into a seamless whole on the staging server.</p>
Exemple #6
0
?>
</li>
			</ol>
		</fieldset>
		
		<fieldset>
			<legend>Item Images <a href="javascript:void(0);" id="add_image">Add Another Image <?php 
echo img_tag('add.png');
?>
</a></legend>
			<ol id="images_list">
				<?php 
$num = 1;
/*  Loop through the images.  */
foreach ($images->result() as $image) {
    echo '<li><label>File</label><input type="text" name="images[]" id="image_' . $num . '" value="' . $image->src . '" />' . img_tag('browse.gif', array('id' => 'browse_' . $num)) . '<br /><label>Title</label><input type="text" name="titles[]" id="title_' . $num . '" value="' . $image->title . '" /></li>';
    $num = $num + 1;
}
?>
			</ol>
		</fieldset>
		
		<fieldset>
			<legend>Item Types</legend>
			<?php 
foreach ($types->result() as $type) {
    $temp_types[] = intval($type->id);
}
?>
			<p><input type="checkbox" name="types[]" value="1"<?php 
echo in_array(1, $temp_types) ? ' checked="checked"' : '';
Exemple #7
0
}
echo validation_errors('<p class="ui-state-error ui-corner-all">', '</p>');
?>


    <div class="pagecontent-left">
        <h4>Your Logo</h4>
        <p>Your logo appears on every page, logo must be in GIF, JPEG or PNG format and cannot be more then 200 pixels wide.</p>
        <div id="showlogo" class="ui-corner-all">
            <?php 
// if company logo is in FB
if ($company_detail['logo'] != NULL || $company_detail['logo'] != '') {
    // @todo add file exists checking here
    ?>
                <div class="logo"> <?php 
    echo img_tag($company_detail['logo'], ' alt="' . $company_detail['company_name'] . '"', 'company');
    ?>
 </div>
                <p class="margin-bottom"><a href="javascript:void(0);" id="delaction" onclick="javascript:del_logo('<?php 
    echo $company_detail['cid'];
    ?>
');">Delete this logo</a></p>
            <?php 
}
?>
            <?php 
$upload_logo = array('name' => 'upload_logo', 'id' => 'upload_logo', 'class' => 'ui-corner-all');
echo form_open_multipart('company/logo_upload');
echo form_upload($upload_logo);
echo form_submit('submit', 'Upload Now', 'class="ui-corner-all block margin-top"');
echo form_close();
<div style="background-color:white; box-shadow: 0px 2px 2px #333333;">
<div id="content" align="center"><br><img src ="collection/tiles.png"><p><strong><?php 
    echo $g['name'];
    ?>
さんのシューズコレクション</strong></p></div>
<?php 
}
?>
<div align="center">
  	<?php 
foreach ($getcollection as $gc) {
    ?>
<tr>
<td>
  	<?php 
    echo img_tag($gc['collection_id']);
    ?>
  	</td>
  	<?php 
}
?>
  	</div>
  	<br>
  	</div>
  	  	<br><div align="center">
  	<a id="css_button2" href="#" onClick="history.back(); return false;">戻る</a>
  	<br><br>
  	</div>
  	<?php 
require 'pagetop_button.php';
?>
        // 置換
        $comment = preg_replace($pattern, $replacement, $comment);
        ?>

<td><p style="color:#DC143C"><?php 
        echo "「" . $g['title'] . "」";
        ?>
</p>	</td>
<div id="contentimage">

<div align="center">


<td>
<?php 
        echo img_tag($g['comment_id']);
        ?>
</div>
</td>
<br>
    <td>
    <p>
     <?php 
        echo img_tag2($g['comment_id']);
        ?>
      <?php 
        echo img_tag3($g['comment_id']);
        ?>
       <?php 
        echo img_tag4($g['comment_id']);
        ?>
<h2 class="supplier-title"><?php 
echo $supplier['s_name'];
?>
</h2>

<div id="product-page" class="ten columns">

	<div id="supplier-info" class="">
		
		<div id="supplier-image" class="">
			<?php 
echo img_tag('img/uploads/suppliers/' . $supplier['s_image'], array("alt" => "supplier_img"));
?>
		</div>
		<div id="supplier-description" class="">
			<?php 
echo $supplier['s_description'];
?>
		</div>
	</div>
	
	
	<div style="clear:both;"></div>
	<div id="product-info" class="">

	</div>
</div>

Exemple #11
0
<?php

include_once "../vendor/autoload.php";
// If you specify a full path (URL) in your filename, check if the folder is already exists
$filename = 'qr-code-name.png';
use Arcanedev\QrCode\QrCode;
$qrCode = new QrCode();
$qrCode->setText("I would love to change the world, but they won't give me the source code.");
$qrCode->setSize(200);
$qrCode->save($filename);
// This is a helper to echo out an image, you can use your own function/HTML tag
echo img_tag($filename, 'Your Alt Image | Optional', ['class' => 'your-css-class optional']);
<?php

//thumbnail images were made at 50x50, but if its more recent it's 140x140. Work out which one to use...
if (element('p_image', $p) == null) {
    $preview_img = 'not-found';
} else {
    if (file_exists(FCPATH . 'img/uploads/products/small/' . $p['p_image']) && is_file(FCPATH . 'img/uploads/products/small/' . $p['p_image']) && filesize(FCPATH . 'img/uploads/products/small/' . $p['p_image']) > 10240) {
        $preview_img = 'img/uploads/products/small/' . $p['p_image'];
    } else {
        $preview_img = 'img/uploads/products/' . $p['p_image'];
    }
}
echo '<div class="item_preview" data-pid="' . $p['p_id'] . '" >' . '<div class="image">' . img_tag($preview_img) . '</div>' . '<h3><a href="' . site_url('products/' . $category['cat_slug']) . '/' . $p['p_slug'] . '">' . $p['p_name'] . '</a></h3>' . '<p class="supplier">' . @$p['s_name'] . '</p>' . '<p class="price">1' . @$p['pu_short_single'] . ', &pound;' . number_format($p['p_price'], 2) . '</p>' . '<p class="p_action"><a href="' . site_url('products/' . $category['cat_slug']) . '/' . $p['p_slug'] . '" class="btn">Buy</a></p>';
echo '</div>';
//echo '<li><a href="'. site_url() .'products/'. $cat['cat_slug'] .'">'.$cat['cat_name'].'</a></li>';
Exemple #13
0
        <div class="people-box ui-corner-all <?php 
    echo $class_div;
    ?>
">
        <div class="picture">
            <?php 
    // if profile picture is in DB
    if ($row['profile_pic'] != NULL || $row['profile_pic'] != '') {
        // @todo add file exists checking here
        ?>
            <?php 
        echo img_tag($row['profile_pic'], ' alt="' . $row['first_name'] . '"', 'profile');
        ?>
            <?php 
    } else {
        echo img_tag('default_small.png', ' alt="' . $row['first_name'] . '"', 'profile');
    }
    ?>
        </div>
        <div class="name"><?php 
    echo $row['first_name'] . ' ' . $row['last_name'];
    ?>
</div>
            </div>
<?php 
}
?>
    <div class="cleardiv"></div>


Exemple #14
0
	<div class="image_column"><?php 
echo img_tag('tools_cms.jpg');
?>
</div>
	<p>On the web, content is everything. We have created a simple, custom Content Management System that allows you to edit text, insert pictures, format layouts, add pages and sections - wherever, whenever and however you want. Carbon generates web-standard, XHTML/CSS, search-engine friendly code so you don&#8217;t have to. You cannot break your web site using Carbon.</p>
	<p>Examples: <?php 
echo anchor('portfolio/sort/all/#pljv', 'PLJV');
?>
, <?php 
echo anchor('portfolio/sort/all/#desi-hits', 'Desi Hits');
?>
</p>
	
	<h3>Mercury Blog</h3>
	<div class="image_column"><?php 
echo img_tag('tools_blog.jpg');
?>
</div>
	<p>Stormlab can show you the power of blogging with our Mercury Blogging Engine or, if you prefer we can customize WordPress to suit your needs. We can help you integrate a blog as part of a unified, online marketing strategy that can significantly boost your search engine ranking through targeted search engine optimization.</p>
	<p>Examples: <?php 
echo anchor('portfolio/sort/all/#climate360', 'Climate360');
?>
</p>
	
	<h3>Silver Slideshow</h3>
	<div class="image_column"><div id="slideshow" style="border : 5px solid #999;width:372px;height:242px;"></div></div>
	<p>Silver Slideshow is a fast and easy way to put dynamic visual content anywhere on your site. A lot of our clients use it as the main feature on their homepage (we&#8217;ve used it on ours). Others have created slideshows of client logos.</p>
	<p>Silver slideshows use Flash to create dynamic transitions (fade, wipe or blur). They can be any size and you control the length of the slideshow. All the slides are JPGs and can be managed manually or via the Carbon CMS.</p>
	<p>Examples: <?php 
echo anchor('portfolio/sort/all/#st-davids', 'St. David&#8217;s');
?>
Exemple #15
0
	
	<h3>Dave Wright <span>Principal/Creative Director</span></h3>
	<div class="image_column"><?php 
echo img_tag('photo_dave.jpg');
?>
</div>
	<p>Stormlab was founded by Dave Wright in 1999. During that time, Dave has worked with numerous startups and corporations helping them to find a visual voice through memorable branding and distinctive web sites. His information architecture expertise also enables him to help these companies produce highly intuitive and easily navigable web sites and web applications.</p>
	<p>Prior to Stormlab, Dave worked at a number of the top Los Angeles ad agencies and internet firms as a Senior Creative Director. His clients included: MTV, Infiniti, K-Swiss, Microsoft and Intel. His designs have been recognized by the Smithsonian and he is the recipient of the Golden Omni Award for his work with Stamford Hospital&#8217;s Healthy Pregnancy Initiative.</p>
	
	<h3>Bryan Fillmer <span>Design Technologist</span></h3>
	<div class="image_column"><?php 
echo img_tag('photo_bryan.jpg');
?>
</div>
	<p>Bryan Fillmer has been working with Web related technologies for over nine years. He is highly proficient in today&#8217;s leading programming languages, including Javascript, Ruby on Rails and PHP.</p>
	<p>Bryan leads all of the programming efforts at Stormlab, overseeing the development of our suite of tools and implementing web applications for clients such as Desi Hits, Campus Vortex, PLJV and Climate360.</p>
	
	<br clear="all" />
Exemple #16
0
/**
 * Crea un componente para Subir Imagenes
 *
 * @param string $name id del tag
 * @return string
 */
function upload_image_tag($name)
{
    $opts = is_array($name) ? $name : Util::getParams(func_get_args());
    $code = '';
    if (isset($opts[0])) {
        $opts['name'] = $opts[0];
    } else {
        $opts['name'] = '';
    }
    if (isset($opts['value'])) {
        $opts['value'] = $opts[1];
    } else {
        $opts['value'] = '';
    }
    $path = PUBLIC_PATH;
    $code .= "<span id='{$opts['name']}_span_pre'>\n\t<select name='{$opts[0]}' id='{$opts[0]}' onchange='show_upload_image(this, \"{$path}\")'>";
    $code .= "<option value='@'>Seleccione...\n";
    foreach (scandir("public/img/upload") as $file) {
        if ($file != 'index.html' && $file != '.' && $file != '..' && $file != 'Thumbs.db' && $file != 'desktop.ini') {
            $nfile = str_replace('.gif', '', $file);
            $nfile = str_replace('.jpg', '', $nfile);
            $nfile = str_replace('.png', '', $nfile);
            $nfile = str_replace('.bmp', '', $nfile);
            $nfile = strtr($nfile, '_', ' ');
            $nfile = ucfirst($nfile);
            if (urlencode("upload/{$file}") == $opts['value']) {
                $code .= "<option selected='selected' value='upload/{$file}' style='background: #EAEAEA'>{$nfile}</option>\n";
            } else {
                $code .= "<option value='upload/{$file}'>{$nfile}</option>\n";
            }
        }
    }
    $code .= "</select> <a href='#{$opts['name']}_up' name='{$opts['name']}_up' id='{$opts['name']}_up' onclick='enable_upload_file(\"{$opts['name']}\")'>Subir Imagen</a></span>\n\t<span style='display:none' id='{$opts['name']}_span'>\n\t<input type='file' id='{$opts['name']}_file' onchange='upload_file(\"{$opts['name']}\")' />\n\t<a href='#{$opts['name']}_can' name='{$opts['name']}_can' id='{$opts['name']}_can' style='color:red' onclick='cancel_upload_file(\"{$opts['name']}\")'>Cancelar</a></span>\n\t";
    if (!isset($opts['width'])) {
        $opts['width'] = 128;
    }
    if (!isset($opts['value'])) {
        $opts['style'] = "border: 1px solid black;margin: 5px;" . $opts['value'];
    } else {
        $opts['style'] = "border: 1px solid black;display:none;margin: 5px;" . $opts['value'];
    }
    $code .= "<div>" . img_tag(urldecode($opts['value']), 'width: ' . $opts['width'], 'style: ' . $opts['style'], 'id: ' . $opts['name'] . "_im") . "</div>";
    return $code;
}
Exemple #17
0
      <br><br>
      </p>
      <input type="file" name="pic">
      <br>
      <p>
<!-- 小<input type="range" name="width" value="500" min="10" max="570" class="custom">大 -->
      <input type="hidden" name="comment_id" value="<?php 
echo $comment_id;
?>
">
      <input id="serch_button" type="submit" name="submit" value="実行" style="cursor:pointer">
    </p>
    <td>
    <div id="contentimage">
    <?php 
echo img_tag($comment_id);
?>
    </div>
    <br>
    <?php 
if (file_exists("images/{$comment_id}.jpg")) {
    echo "現在のメイン画像 画像ID:" . $comment_id;
} else {
    echo '<p style="color:#DC143C">画像がありません。</p>';
}
?>
    </td>
    <p>
    <input id="submit_button" type="submit" name="delete" value="メイン画像を削除する" style="cursor:pointer"onclick="return confirm('メイン画像を削除してよろしいですか?')">
    </p>
  	<br>
Exemple #18
0
 public static function previa($imagen, $alt = "Previsualización", $w = 100, $h = 100)
 {
     return '<div style="width:' . $w . 'px;height:' . $h . 'px;overflow:hidden;">' . img_tag($imagen, $alt, "id: preview") . '</div>';
 }
Exemple #19
0
	<p><?php 
echo anchor('portfolio', 'Check out an example of our web apps');
?>
 in the portfolio.</p>
	
	<h3>Illustration</h3>
	<div class="image_column"><?php 
echo img_tag('services_ill.jpg');
?>
</div>
	<p>Illustration is a great way to create a truly unique web site. From singular icons to truly immersive online experiences, our illustrations have helped clients stand out from the pack.</p>
	<p>Check out the <?php 
echo anchor('portfolio', 'Portfolio');
?>
 for examples of our illustrations.</p>
	
	<h3>Flash/Interactive</h3>
	<div class="image_column"><?php 
echo img_tag('services_flash.jpg');
?>
</div>
	<p>In addition to our programming services, we also offer Flash design and coding. Previous projects include dynamic visualizations of complex concepts in Education, Flash advertising and slideshows.</p>
	
	<h3>Project Management</h3>
	<div class="image_column"><?php 
echo img_tag('services_manage.jpg');
?>
</div>
	<p>All of our planning, design and coding activities are co-ordinated via Basecamp. Basecamp is the design-industry standard for web-based project management. Clients can access Basecamp at any time in order to track our progress and collaborate with us as we realize their web sites for them.</p>
	
	<br clear="all" />
Exemple #20
0
 /**
  * Generate img Tag with the qr-code
  *
  * @param string|null   $alt
  * @param array|null    $attributes
  *
  * @return string
  */
 public function image($alt = "", $attributes = [])
 {
     return img_tag($this->getDataUri(), $alt, $attributes);
 }
Exemple #21
0
<div id="homearea" class="ui-corner-all">
  <div id="left-content">
    <h1>Get organized, in minutes!</h1>
    <ul id="signup-points">
      <li>manage projects quickly and intuitively.</li>
      <li>collaborate with your team and track time.</li>
      <li>manage and maintain releases.</li>
						<li>create invoices and get paid online.</li>
    </ul>
    <div id="buttons">
				
				<?php 
$is_logged_in = $this->session->userdata('is_logged_in');
if (!isset($is_logged_in) || $is_logged_in != TRUE) {
    ?>
				<a href="users/signup" class="likebtn ui-corner-all">Signup for FREE account!</a>
				<?php 
}
?>
				
				<a href="tour" class="likebtn ui-corner-all">Take the tour</a> </div>
  </div>
  <div id="right-content">
    <div id="video" class="ui-corner-all"><?php 
echo img_tag('video-intro.jpg', ' alt="Tour Video"');
?>
</div>
  </div>
  <div class="cleardiv"></div>
</div>
<h2>Browse Produce</h2>
<p>To take a look at these produce 'click' on the products below.</p>

<?php 
if (@$categories) {
    echo '<div class="item_list categories">';
    foreach ($categories as $cat) {
        if ($cat['cat_show_products'] > 0 && is_array($cat['products'])) {
            foreach ($cat['products'] as $prod) {
                echo '<div class="item_preview">' . '<div class="feature"><div class="feature-inner"><span>' . $cat['cat_name'] . '</span></div></div>' . '<div class="clear"></div>' . '<div class="image postfeature">' . img_tag('img/uploads/products/' . $prod['p_image']) . '</div>' . '<h3><a href="' . site_url('products/featured/' . $prod['p_slug']) . '">' . $prod['p_name'] . '</a></h3>' . '<p class="description">' . @$prod['p_description'] . '</p>';
                echo '</div>';
            }
        } else {
            echo '<div class="item_preview">' . '<div class="image">' . img_tag('img/uploads/categories/' . $cat['cat_image']) . '</div>' . '<h3><a href="' . site_url('products/' . $cat['cat_slug']) . '">' . $cat['cat_name'] . '</a></h3>' . '<p>' . @$cat['cat_description'] . '</p>';
            echo '</div>';
            //echo '<li><a href="'. site_url() .'products/'. $cat['cat_slug'] .'">'.$cat['cat_name'].'</a></li>';
        }
    }
    echo '</div>';
} else {
}
Exemple #23
0
  <p> <span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 50px 0;"></span> <?php 
    echo $site_name . ' ' . SITE_VERSION;
    ?>
 is currently in beta. Some of the functions will not work properly. </p>
</div>
<?php 
}
?>
<!-- hidden stuff end -->
<div id="wrapper" class="ui-corner-all">
  <div id="header">
    <div id="logo"> <a href="<?php 
echo $base_url;
?>
"><?php 
echo img_tag('logo.png', ' alt="' . $site_name . '"');
?>
</a> </div>
    <div id="headerlogin">

        <?php 
$is_logged_in = $this->init->_get_session_uid();
if (!isset($is_logged_in) || $is_logged_in != TRUE) {
    $this->load->view("users/login_form_header.php");
} else {
    $this->load->view("users/logged_in_header.php");
}
?>


    </div>
Exemple #24
0
echo form_input($inputs['uri']);
?>
</li>
				<li><label>Blurb</label><?php 
echo form_textarea($inputs['blurb']);
?>
</li>
			</ol>
		</fieldset>
		
		<fieldset>
			<legend>Item Images <a href="javascript:void(0);" id="add_image">Add Another Image <?php 
echo img_tag('add.png');
?>
</a></legend>
			<ol id="images_list">
				<li><label>File</label><input type="text" name="images[]" id="image_1" /><?php 
echo img_tag('browse.gif', array('id' => 'browse_1'));
?>
<br /><label>Title</label><input type="text" name="titles[]" id="title_1" /></li>
			</ol>
		</fieldset>
		
		<fieldset>
			<legend>Item Types</legend>
			<p><input type="checkbox" name="types[]" value="1" /> Web Site <input type="checkbox" name="types[]" value="2" /> Web App <input type="checkbox" name="types[]" value="3" /> Logo</p>
		</fieldset>
		
		<p class="submit"><input type="submit" value="Add Item" /></p>
		
	</form>
Exemple #25
0
	
	<li id="item_<?php 
echo $item->real_id;
?>
"><?php 
echo img_tag('sort_handle.gif');
echo '&nbsp;' . $item->name;
?>
</li>