@@ 257-271 (lines=15) @@ | ||
254 | $this->load->view('view_email_client_area',$data); |
|
255 | } |
|
256 | /*Mass Email*/ |
|
257 | function attachment_icons($select = "", $table = "", $attachement="") { |
|
258 | if($attachement!="") |
|
259 | { |
|
260 | $array=explode(",", $attachement); |
|
261 | $str=''; |
|
262 | foreach($array as $key =>$val){ |
|
263 | $link = base_url() . "email/email_history_list_attachment/".$val; |
|
264 | $str.="<a href='".$link."' title='".$val."' class='btn btn-royelblue btn-sm'><i class='fa fa-paperclip fa-fw'></i></a> "; |
|
265 | } |
|
266 | return $str; |
|
267 | } else{ |
|
268 | return ""; |
|
269 | } |
|
270 | } |
|
271 | function email_client_get() |
|
272 | { |
|
273 | $files=$_FILES; |
|
274 | $add_array = $this->input->post(); |
@@ 690-702 (lines=13) @@ | ||
687 | ||
688 | ||
689 | //attachment download in email module... |
|
690 | function attachment_icons($select = "", $table = "", $attachement = "") { |
|
691 | if ($attachement != "") { |
|
692 | $array = explode(",", $attachement); |
|
693 | $str = ''; |
|
694 | foreach ($array as $key => $val) { |
|
695 | $link = base_url()."email/email_history_list_attachment/".$val; |
|
696 | $str .= "<a href='".$link."' title='".$val."' class='btn btn-royelblue btn-sm'><i class='fa fa-paperclip fa-fw'></i></a> "; |
|
697 | } |
|
698 | return $str; |
|
699 | } else { |
|
700 | return ""; |
|
701 | } |
|
702 | } |
|
703 | ||
704 | /* * ************************************************************* */ |
|
705 |