My Groups

You are not a member of any group.

Login

Message Box

You are not logged in.

Notification

Members Online

None

User Statistics

Registered users : 38792
Online : 1807
Guest : 1807
Members : 0

Online members
No members online!

Last 5 users
alisapugacescu
adrylawumi
dienul82
suksesbisnismlm
ariefalbani
registerFunction( 'onBeforeUserUpdate','protectFields', 'getProtectFieldsTab' ); /** * Protection Tab Class for handling the CB tab api * @package Community Builder * @author JoomlaJoe and Beat */ class getProtectFieldsTab extends cbTabHandler { /** * Constructor */ function getProtectFieldsTab() { $this->cbTabHandler(); } /** * gets object with name, title and table corresponding to a field id * @access private * @param int fieldId * @returns mixed : either object, or null if no match */ function getFieldInfo($protectFieldId) { global $database; if ($protectFieldId == "0") return null; $query = "SELECT `name`,`table`,`title`,`type` FROM #__comprofiler_fields WHERE published=1 AND fieldid=".$protectFieldId; $database->setQuery($query); $protectObj = null; $database->loadObject($protectObj); return $protectObj; } /** * Discards all changes the user makes to email field. Admins are allowed to change email addresses. * Method is called before user data is stored in the database * @access private * @param object holds the core mambo user data * @param object holds the community builder user data * @param object holds the field information * @return boolean true check ok no changes, FALSE error raised */ function checkMyFieldChanges(&$user,&$cbUser,$protectObj) { global $database, $my, $_PLUGINS; if ($protectObj === null) return true; $params = $this->params; $alertMsg = htmlspecialchars($params->get('alertMsg', '0')); $protectFieldName = $protectObj->name; $protectTable = $protectObj->table; $protectTitle = $protectObj->title; //if ($my->gid != 2) { // admins can change their profile unrestricted from the backend if ($protectTable != "#__comprofiler") { $query = "SELECT `".$database->getEscaped($protectFieldName)."` FROM #__users WHERE id=".$user->id." LIMIT 1"; $pObject =& $user; } else { $query = "SELECT `".$database->getEscaped($protectFieldName)."` FROM #__comprofiler WHERE id=".$user->id." LIMIT 1"; $pObject =& $cbUser; } $database->setQuery($query); $pOriginalField = $database->loadResult(); //The field before the change was attempted if ($pObject->$protectFieldName != $pOriginalField) { $_PLUGINS->raiseError(0); $_PLUGINS->_setErrorMSG(htmlspecialchars(getLangDefinition($protectTitle))." ".$alertMsg); $pObject->$protectFieldName = $pOriginalField; return false; } //} return true; } /** * generates javascript code to check and flag at browser end * @access private * @param object tab reflecting the tab database entry * @param object mosUser reflecting the user being displayed * @param object holds the field information */ function getEditTabJScode(&$user,$protectObj) { if ($protectObj == null) return; $params = $this->params; $alertMsg = $params->get('alertMsg', '0'); $protectFieldName = $protectObj->name; $protectTitle = $protectObj->title; $protectValue = $user->$protectFieldName; //Type matters ;) $protectType = $protectObj->type; //We need to add square brackets for accessing select, multiselect and mulitcheckbox in JS $addBrackets = ""; if($protectType == "multiselect" || $protectType == "select" || $protectType == "multicheckbox"){$addBrackets = "[]";} $this->_addValidationJS( "\t if (getInputValue(me['".htmlspecialchars($protectFieldName).$addBrackets."'])!=getInputDefaultValue(me['".htmlspecialchars($protectFieldName).$addBrackets."'])){\n" ."\t errorMSG += \"".html_entity_decode(getLangDefinition($protectTitle)." ".$alertMsg)."\\n\"\n" ."\t me['".htmlspecialchars($protectFieldName).$addBrackets."'].style.background = \"red\";\n" ."\t setInputValue(me['".htmlspecialchars($protectFieldName).$addBrackets."'],getInputDefaultValue(me['".htmlspecialchars($protectFieldName).$addBrackets."']));\n" ."\t iserror=1;\n" ."\t} else {\n" ."\t me['".htmlspecialchars($protectFieldName).$addBrackets."'].style.background = cbDefaultFieldBackground;\n" ."\t}\n"); // also see event: 'onBeforeUserUpdate' : must also be implemented as above to avoid changes with JS off. } /** * Discards all changes the user makes to email field. Admins are allowed to change email addresses. * Method is called before user data is stored in the database * @param array holds the core mambo user data * @param array holds the community builder user data */ function protectFields(&$user,&$cbUser) { $params = $this->params; $protectFieldId = $params->get('protect1', '0'); $result1 = $this->checkMyFieldChanges($user, $cbUser, $this->getFieldInfo($protectFieldId)); $protectFieldId = $params->get('protect2', '0'); $result2 = $this->checkMyFieldChanges($user, $cbUser, $this->getFieldInfo($protectFieldId)); $protectFieldId = $params->get('protect3', '0'); $result3 = $this->checkMyFieldChanges($user, $cbUser, $this->getFieldInfo($protectFieldId)); $protectFieldId = $params->get('protect4', '0'); $result4 = $this->checkMyFieldChanges($user, $cbUser, $this->getFieldInfo($protectFieldId)); return result1 && result2 && restult3 && result4; } /** * Generates the HTML to display the user edit tab * @param object tab reflecting the tab database entry * @param object mosUser reflecting the user being displayed * @param int 1 for front-end, 2 for back-end * @returns mixed : either string HTML for tab content, or false if ErrorMSG generated */ function getEditTab($tab,$user,$ui) { if ($ui == 2) return ""; // don't protect backend user edits. $params = $this->params; //Functions used in every check. So let's include them here only once. $this->_addValidationJS( "\t // ===================================================================\n" ."\t //JavaScript functions\n" ."\t // Author: Matt Kruse \n" ."\t // WWW: http://www.mattkruse.com/\n" ."\t // ===================================================================\n" ."\t //-------------------------------------------------------------------\n" ."\t // isArray(obj)\n" ."\t // Returns true if the object is an array, else false\n" ."\t //-------------------------------------------------------------------\n" ."\t function isArray(obj){return(typeof(obj.length)==\"undefined\")?false:true;}\n" ."\t //-------------------------------------------------------------------\n" ."\t // getInputValue(input_object[,delimiter])\n" ."\t // Get the value of any form input field\n" ."\t // Multiple-select fields are returned as comma-separated values, or\n" ."\t // delmited by the optional second argument\n" ."\t // (Doesn't support input types: button,file,reset,submit)\n" ."\t //-------------------------------------------------------------------\n" ."\t function getInputValue(obj,delimiter) {\n" ."\t var use_default=(arguments.length>2)?arguments[2]:false;\n" ."\t if (isArray(obj) && (typeof(obj.type)==\"undefined\")) {\n" ."\t var values=new Array();\n" ."\t for(var i=0;i0)?obj.options[obj.selectedIndex].value:null;\n" ."\t case 'select-multiple': \n" ."\t if (obj.options==null) { return null; }\n" ."\t var values=new Array();\n" ."\t for(var i=0;i1)?arguments[1]:false;\n" ."\t if(isArray(obj)&&(typeof(obj.type)==\"undefined\")){\n" ."\t for(var i=0;iget('protect1', '0'); $this->getEditTabJScode($user, $this->getFieldInfo($protectFieldId)); $protectFieldId = $params->get('protect2', '0'); $this->getEditTabJScode($user, $this->getFieldInfo($protectFieldId)); $protectFieldId = $params->get('protect3', '0'); $this->getEditTabJScode($user, $this->getFieldInfo($protectFieldId)); $protectFieldId = $params->get('protect4', '0'); $this->getEditTabJScode($user, $this->getFieldInfo($protectFieldId)); return ""; } } // end class getProtectFieldsTab. ?>
Welcome, Guest
Please Login or Register.    Lost Password?

Apa Alasan (jujur) Ikut AIMA ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Apa Alasan (jujur) Ikut AIMA ?
#1259
elsa rosyidah
Expert Boarder
Posts: 93
graphgraph
User Offline Click here to see the profile of this user
Apa Alasan (jujur) Ikut AIMA ? 2 Years, 1 Month ago Karma: 12
Setiap tim pserta AIMA,
tentunya memiliki masing-masing reason untuk ikuti lomba AIMA.



menurut kami YES UB - Malang,
setidak ada 2 alasan utama ikuti AIMA,
yaitu :

1. PROFIT
Keuntungan tangible / terukur seperti uang.
tulisan "1 Milyar" jd senjata ampuh tuk tarik mhs ikuti AIMA.


2. BENEFIT
Keuntungan intangible seperti kepuasan, pengalaman, penghargaan, prestise dll.




kalo dari kami,
alasan utama ikut lomba adalah PROFIT.
krn BENEFIT itu mengkuti PROFIT.

bagaimana dgn tim kalian ?





YES UB - Malang
 
The administrator has disabled public write access.
#1329
Suhandi s
Gold Boarder
Posts: 181
graph
User Offline Click here to see the profile of this user
Re:Apa Alasan (jujur) Ikut AIMA ? 2 Years, 1 Month ago Karma: 10
Alasan personal untuk ikut AIMA:

ketika itu tidak sengaja setelah selesai kuliah bertemu dengan rekan saya: roni, yang memberikan informasi mengenai lomba ini. Ketika ditawarkan untuk mengikuti lomba, saya langsung mencari informasi ini.. walau sudah hampir akhir2 penutupan dan untungnya diperpanjang. Roni kini menjadi 1 team bersama dengan Doni tergbung dalam team UNILAxiooTM.

Ketertarikan saya mengikuti AIMA ini dilandasi dengan suatu hal yang membuat saya tertarik bahwa lomba aima ini sesuai dengan spesialisasi saya, karena saya mengambil jurusan manajemen, major: marketing. Mencoba mengimplementasikan ilmu teori dan dengan harapan ingin menang.

Jika nantinya bisa menjadi juara.. banyak hal yang bisa saya didapatkan. salah satunya menambah softskill untuk kedepan mampu bersaing ketika lulus dalam dunia kerja. selain itu tawaran total hadiah 1M jelas suatu hal yang menarik, dan dari hadiah itu banyak hal yang dapat saya lakukan dan mewujudkan harapan2 sy. ex:pendidikan, sosial(desa binaan), orang tua, dll.

Soal kalah menang bagi saya tidak masalah jika memang bukan rejeki, tapi setidaknya saya telah mencoba dan berusaha. Lebih baik dibandingkan saya tidak mencoba sama sekali.. dan setidaknya dari aootb ini saya bisa mendapatkan keluarga baru, pengalaman baru dalam melakukan penjualan, dll suatu hal yang baru yang mungkin kesempatan ini tidak saya dapatkan jika saya tidak mengikuti aootb ini. Terima kasih
 
Last Edit: 2009/12/24 01:23 By Suhandies.
Regards- Suhandi s (lampung) www.suhandi.com .모든 당사자들의 지원을 기대 우리 투표 UNILAxioo TM
The administrator has disabled public write access.
#1350
budi cahyono
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Apa Alasan (jujur) Ikut AIMA ? 2 Years, 1 Month ago Karma: 0
he2x...ditanya soal motivasi ikut lomba ini..
jadi malu rasanya


alasan budi ikut lomba ini "biar bisa naik pesawat terbang"...
terbang ke jakarta....males naik kereta api terus....


pa lagi bus...dah pernah ketipu calo sih...

Upz...kok jadi curhat gini:)
Cayo...
Jangan Lupa Budi Anak baik Cucunya mbah Jiwo yang tergabung di Team YES-UB Reg. Malang
 
The administrator has disabled public write access.
#1427
David Yacobus
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:Apa Alasan (jujur) Ikut AIMA ? 2 Years, 1 Month ago Karma: 0
Untuk team AXELERATE, hadiah finansial bukanlah tujuan karena uang bisa dicari dari banyak sumber. Sebenarnya kami lebih prefer hadiah berupa barang agar ada nilai kenangannya. Lebih baik lagi bila dapat melakukan tour ke kantor/pabrik Axioo di berbagai negara. Kami juga tidak diperbolehkan melakukan cheating karena bila terbukti, maka kami bisa dikeluarkan dari kampus. Dengan tegas saya mengingatkan anggota team untuk menjalankan promosi voting secara riil.

Tujuan utama kami adalah membuktikan kalau slogan "Axioo + Intel = AXELERATE My Life!" adalah benar-benar slogan yang mudah dicerna dan diingat masyarakat tidak hanya di Indonesia tapi juga di negara lain. Secara sederhana dapat disimpulkan kami mengikuti kegiatan ini demi menantang diri sendiri untuk persiapan kami Go International.
 
The administrator has disabled public write access.
Go to topPage: 1
get the latest posts directly to your desktop