personal_and_skills.php
education_and_experience.php
contact_data.php
%php class personalData { private $fullName = 'Marcin Jóźwikowski'; private $cityOfResidence = 'Warszawa'; private $gitHub = 'https://github.com/marcin-jozwikowski'; private $profileAddr = 'https://www.linkedin.com/in/marcinjozwikowski-28b92411a/'; private $contactData; private $birthDate; private $skills; public function __construct() { $this->birthDate = new DateTime('1985-04-27'); $this->contactData = contactData::getData(); $this->setSkills(); } private function setSkills() { $this->skills = new skillSet(); $this->skills->add(new skill('PHP', skill::SKILL_TYPE_LANG, skill::SKILL_LEVEL_PRO)); $this->skills->add(new skill('HTML/CSS', skill::SKILL_TYPE_LANG, skill::SKILL_LEVEL_PRO)); $this->skills->add(new skill('JavaScript', skill::SKILL_TYPE_LANG, skill::SKILL_LEVEL_GOOD)); $this->skills->add(new skill('Python', skill::SKILL_TYPE_LANG, skill::SKILL_LEVEL_ELEMENTARY)); $this->skills->add(new skill('Symfony2/3/4', skill::SKILL_TYPE_FRAMEWORK, skill::SKILL_LEVEL_PRO)); $this->skills->add(new skill('CakePHP', skill::SKILL_TYPE_FRAMEWORK, skill::SKILL_LEVEL_GOOD)); $this->skills->add(new skill('vanillaJS', skill::SKILL_TYPE_FRAMEWORK, skill::SKILL_LEVEL_GOOD)); $this->skills->add(new skill('AndroidSDK', skill::SKILL_TYPE_FRAMEWORK, skill::SKILL_LEVEL_ELEMENTARY)); $this->skills->add(new skill('Photoshop', skill::SKILL_TYPE_SOFTWARE, skill::SKILL_LEVEL_GOOD)); $this->skills->add(new skill('SolidWorks', skill::SKILL_TYPE_SOFTWARE, skill::SKILL_LEVEL_GOOD, ['Certificate'])); $this->skills->add(new skill('Blender', skill::SKILL_TYPE_SOFTWARE, skill::SKILL_LEVEL_ELEMENTARY)); } };
%php $employmentHistory = array( array( 'companyName' => 'X-Trade Brokers', 'since' => DateTime::createFromFormat('Y-m', '2016-07'), 'jobPosition' => 'Senior PHP Developer'), array( 'companyName' => 'PMSoftware / Silk Software House', 'since' => DateTime::createFromFormat('Y-m', '2014-03'), 'till' => DateTime::createFromFormat('Y-m', '2016-05'), 'jobPosition' => 'PHP Programmer / Senior Developer'), array( 'companyName' => 'ClearSense S.A. S.K.', 'since' => DateTime::createFromFormat('Y-m', '2012-11'), 'till' => DateTime::createFromFormat('Y-m', '2014-03'), 'jobPosition' => 'Webdeveloper'), array( 'companyName' => 'Czwarta Fala sp. z o.o.', 'since' => DateTime::createFromFormat('Y-m', '2010-06'), 'till' => DateTime::createFromFormat('Y-m', '2012-03'), 'jobPosition' => 'Webdeveloper'), array( 'companyName' => 'eXpedition', 'since' => DateTime::createFromFormat('Y-m', '2008-09'), 'till' => DateTime::createFromFormat('Y-m', '2010-06'), 'jobPosition' => 'Webdeveloper/designer/sysOp'), array( 'companyName' => 'FDF - Firma dla Firm', 'since' => DateTime::createFromFormat('Y-m', '2007-06'), 'till' => DateTime::createFromFormat('Y-m', '2008-08'), 'jobPosition' => 'Webdeveloper/designer'), array( 'companyName' => 'Freelance and individual contract jobs', 'since' => DateTime::createFromFormat('Y', '2005') ) ); $education = [ [ 'name' => 'Faculty of Production Engineering at Warsaw University of Technology', 'since' => DateTime::createFromFormat('Y', '2004'), 'till' => DateTime::createFromFormat('Y', '2008'), 'additionalInfo' => 'dropped' ], [ 'name' => 'XCIX LO im. Zbigniewa Herberta', 'since' => DateTime::createFromFormat('Y', '2000'), 'till' => DateTime::createFromFormat('Y', '2004') ] ];
%php class contactData { const KEY = 'e746f92839d1e7e7a366ccbcdb270e70'; const DATA = 'Ylo2zyUq76LD/g4H4BCgjvcbP3LY38RSafiwkPX+1N+2kGQiTELuEFd7Owl/128G8xIhog2ZJuRtIj0dizbrIQ=='; public static function getData() { return static::decryptData(base64_decode(static::DATA)); } public static function decryptData($data) { return mcrypt_decrypt(MCRYPT_RIJNDAEL_256, static::KEY, $data, MCRYPT_MODE_ECB, static::getIV()); } public static function encryptData($data) { return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, static::KEY, $data, MCRYPT_MODE_ECB, static::getIV())); } private static function getIV(){ $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB); return mcrypt_create_iv($iv_size, MCRYPT_RAND); } }