This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Untitled Document</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
/* CSS Document */ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, font, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, | |
b, u, i, center, | |
dl, dt, dd, ol, ul, li, | |
fieldset, form, label, legend, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************** | |
HTML | |
*********************************/ | |
<div class="upldFile"> | |
<p class="set16p">Upload a new photo</p> | |
<input type="text" name="broFile" class="text-input button" value="" style="display: inline; width: 300px;"> | |
<div class="inputType-file"> | |
<input class="file_1" type="file" size="1"/> | |
</div> | |
<p class="set16p sand">Acceptable image formats: jpg, png, and gif • Image size must be less than 200KB. </p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************** | |
Select Multiple Style-HTML | |
*******************************************/ | |
<div class="setbgToSelector"> | |
<select name="" id="" class="selector-que"> | |
<option value="MultipleChoise">MultipleChoise</option> | |
</select> | |
</div> | |
/******************************************** | |
Select Multiple Style-CSS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************* | |
Accordion | |
*************************************************/ | |
$('dd').filter(':nth-child(n+4)').addClass('hide'); | |
// $('dd').addClass('hide'); | |
$('dl').on('click','dt',function(){ | |
$(this) | |
.next() | |
.slideDown(600) | |
.siblings('dd') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$config['server_root']=$_SERVER['DOCUMENT_ROOT']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
$config['protocol']='smtp'; | |
$config['smtp_host']='ssl://smtp.googlemail.com'; | |
$config['smtp_port']=465; | |
$config['smtp_user']='[email protected]'; | |
$config['smtp_pass']='rko261187'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$path=$this->config->item('server_root'); | |
$file=$path.'/CI25_06_2012/attachments/informa.txt'; | |
$this->email->attach($file); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Site_model extends CI_Model { | |
//Select all | |
function get_records(){ | |
$query=$this->db->get('data'); | |
return $query->result(); | |
} | |
//Add Record | |
function add_record(){ | |
$data=array( | |
'title'=>$this->input->post('title'), |
OlderNewer