This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<access component="com_gallery"> | |
<section name="component"> | |
<action name="core.admin" title="JACTION_ADMIN" description="JACTION_ADMIN_COMPONENT_DESC" /> | |
<action name="core.manage" title="JACTION_MANAGE" description="JACTION_MANAGE_COMPONENT_DESC" /> | |
<action name="core.create" title="JACTION_CREATE" description="JACTION_CREATE_COMPONENT_DESC" /> | |
<action name="core.delete" title="JACTION_DELETE" description="JACTION_DELETE_COMPONENT_DESC" /> | |
<action name="core.edit" title="JACTION_EDIT" description="JACTION_EDIT_COMPONENT_DESC" /> | |
<action name="core.edit.state" title="JACTION_EDITSTATE" description="JACTION_EDITSTATE_COMPONENT_DESC" /> | |
</section> |
This file contains hidden or 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 | |
/** | |
* @package contactus | |
* @copyright Copyright (c)2014 Nicholas K. Dionysopoulos / AkeebaBackup.com | |
* @license GNU General Public License version 2 or later | |
*/ | |
defined('_JEXEC') or die(); | |
// Load FOF | |
require_once JPATH_LIBRARIES.'/f0f/include.php'; | |
// Execute the component |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<config> | |
<fieldset | |
name="permissions" | |
label="JCONFIG_PERMISSIONS_LABEL" | |
description="JCONFIG_PERMISSIONS_DESC" | |
> | |
<field | |
name="rules" | |
type="rules" |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<fof> | |
<!-- Component back-end options --> | |
<backend> | |
<!-- Dispatcher options --> | |
<dispatcher> | |
<option name="default_view">items</option> | |
</dispatcher> | |
</backend> | |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<extension version="2.5" type="component" method="upgrade"> | |
<name>gallery</name> | |
<creationDate>##DATE##</creationDate> | |
<author>Nicholas K. Dionysopoulos</author> | |
<authorEmail>[email protected]</authorEmail> | |
<authorUrl>http://www.akeebabackup.com</authorUrl> | |
<copyright>Copyright (c)2013 Nicholas K. Dionysopoulos / Akeeba Ltd</copyright> | |
<license>GNU GPL v3 or later</license> | |
<version>##VERSION##</version> |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
@package Gallery | |
@copyright Copyright (c)2013 Nicholas K. Dionysopoulos / AkeebaBackup.com | |
@license GNU General Public License version 2 or later | |
Items view form file | |
--> | |
<form | |
type="browse" |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
@package gallery | |
@copyright Copyright (c)2013 Nicholas K. Dionysopoulos / AkeebaBackup.com | |
@license GNU General Public License version 2 or later | |
Items view form file | |
--> | |
<form validate="true" serverside_validate="true"> | |
<fieldset name="basic_information" |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
int multiplcation=1; | |
void power (int x, int n) { | |
if(n<0) { | |
n = n +(-n*2); | |
} | |
multiplcation *= x; | |
printf("%d \n",multiplcation); |
This file contains hidden or 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
// Question: Take an integer(DECIMAL) input and convert it to Binary number | |
int main() | |
{ | |
int binary_output[10]; | |
int i=1,j,n=-52; | |
// To avoid Negative Input | |
if(n<0) { | |
n = n +(-n*2); | |
} |
This file contains hidden or 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
// Solution for: Take an integer(DECIMAL) input and convert it to Octal | |
int main() | |
{ | |
int octal_output[10]; | |
int i=1,j,n=-264; | |
// To avoid Negative Input | |
if(n<0) { | |
n = n +(-n*2); | |
} |
OlderNewer