├── .gitignore ├── l10-bootstrapPHP ├── node_modules │ ├── @popperjs │ │ └── core │ │ │ ├── lib │ │ │ ├── types.js │ │ │ ├── utils │ │ │ │ ├── userAgent.d.ts │ │ │ │ ├── getAltAxis.d.ts │ │ │ │ ├── format.d.ts │ │ │ │ ├── getAltLen.d.ts │ │ │ │ ├── validateModifiers.d.ts │ │ │ │ ├── getAltAxis.js │ │ │ │ ├── math.js │ │ │ │ ├── uniqueBy.d.ts │ │ │ │ ├── debounce.d.ts │ │ │ │ ├── getVariation.js │ │ │ │ ├── getAltLen.js │ │ │ │ ├── math.js.flow │ │ │ │ ├── getFreshSideObject.d.ts │ │ │ │ ├── getAltAxis.js.flow │ │ │ │ ├── getBasePlacement.js │ │ │ │ ├── getOppositePlacement.d.ts │ │ │ │ ├── rectToClientRect.d.ts │ │ │ │ ├── getMainAxisFromPlacement.d.ts │ │ │ │ ├── getMainAxisFromPlacement.js │ │ │ │ ├── getFreshSideObject.js │ │ │ │ ├── getVariation.d.ts │ │ │ │ ├── mergePaddingObject.d.ts │ │ │ │ ├── getOppositeVariationPlacement.d.ts │ │ │ │ ├── format.js.flow │ │ │ │ ├── getAltLen.js.flow │ │ │ │ ├── orderModifiers.d.ts │ │ │ │ ├── expandToHashMap.d.ts │ │ │ │ ├── getBasePlacement.d.ts │ │ │ │ ├── mergeByName.d.ts │ │ │ │ ├── math.d.ts │ │ │ │ ├── within.d.ts │ │ │ │ ├── expandToHashMap.js │ │ │ │ ├── mergePaddingObject.js │ │ │ │ ├── getVariation.js.flow │ │ │ │ ├── rectToClientRect.js │ │ │ │ ├── getFreshSideObject.js.flow │ │ │ │ ├── getMainAxisFromPlacement.js.flow │ │ │ │ ├── getOppositeVariationPlacement.js │ │ │ │ ├── getBasePlacement.js.flow │ │ │ │ ├── within.js │ │ │ │ ├── uniqueBy.js │ │ │ │ ├── getOppositePlacement.js │ │ │ │ ├── expandToHashMap.js.flow │ │ │ │ ├── format.js │ │ │ │ ├── userAgent.js │ │ │ │ ├── getOppositeVariationPlacement.js.flow │ │ │ │ ├── rectToClientRect.js.flow │ │ │ │ ├── mergePaddingObject.js.flow │ │ │ │ ├── uniqueBy.js.flow │ │ │ │ ├── debounce.js │ │ │ │ ├── getOppositePlacement.js.flow │ │ │ │ ├── within.js.flow │ │ │ │ ├── computeOffsets.d.ts │ │ │ │ ├── debounce.js.flow │ │ │ │ ├── computeAutoPlacement.d.ts │ │ │ │ ├── detectOverflow.d.ts │ │ │ │ ├── userAgent.js.flow │ │ │ │ ├── mergeByName.js │ │ │ │ └── mergeByName.js.flow │ │ │ ├── dom-utils │ │ │ │ ├── getWindow.d.ts │ │ │ │ ├── isLayoutViewport.d.ts │ │ │ │ ├── getOffsetParent.d.ts │ │ │ │ ├── contains.d.ts │ │ │ │ ├── getScrollParent.d.ts │ │ │ │ ├── isScrollParent.d.ts │ │ │ │ ├── isTableElement.d.ts │ │ │ │ ├── getParentNode.d.ts │ │ │ │ ├── getWindowScrollBarX.d.ts │ │ │ │ ├── getComputedStyle.d.ts │ │ │ │ ├── getLayoutRect.d.ts │ │ │ │ ├── getDocumentRect.d.ts │ │ │ │ ├── getNodeName.js │ │ │ │ ├── getDocumentElement.d.ts │ │ │ │ ├── getHTMLElementScroll.d.ts │ │ │ │ ├── getNodeName.d.ts │ │ │ │ ├── getComputedStyle.js │ │ │ │ ├── getNodeScroll.d.ts │ │ │ │ ├── getHTMLElementScroll.js │ │ │ │ ├── getWindowScroll.d.ts │ │ │ │ ├── isLayoutViewport.js │ │ │ │ ├── isTableElement.js │ │ │ │ ├── isLayoutViewport.js.flow │ │ │ │ ├── listScrollParents.d.ts │ │ │ │ ├── getHTMLElementScroll.js.flow │ │ │ │ ├── getNodeName.js.flow │ │ │ │ ├── isTableElement.js.flow │ │ │ │ ├── getCompositeRect.d.ts │ │ │ │ ├── getComputedStyle.js.flow │ │ │ │ ├── instanceOf.d.ts │ │ │ │ ├── getBoundingClientRect.d.ts │ │ │ │ ├── getViewportRect.d.ts │ │ │ │ ├── getClippingRect.d.ts │ │ │ │ ├── getWindowScroll.js │ │ │ │ ├── getWindow.js │ │ │ │ ├── getDocumentElement.js │ │ │ │ ├── getWindowScroll.js.flow │ │ │ │ ├── isScrollParent.js.flow │ │ │ │ ├── getNodeScroll.js │ │ │ │ ├── getWindow.js.flow │ │ │ │ ├── isScrollParent.js │ │ │ │ ├── getDocumentElement.js.flow │ │ │ │ ├── getNodeScroll.js.flow │ │ │ │ ├── getScrollParent.js │ │ │ │ ├── getScrollParent.js.flow │ │ │ │ ├── instanceOf.js │ │ │ │ ├── contains.js │ │ │ │ ├── getWindowScrollBarX.js │ │ │ │ ├── contains.js.flow │ │ │ │ ├── getParentNode.js │ │ │ │ ├── getWindowScrollBarX.js.flow │ │ │ │ ├── getLayoutRect.js │ │ │ │ ├── getParentNode.js.flow │ │ │ │ ├── getLayoutRect.js.flow │ │ │ │ ├── getViewportRect.js │ │ │ │ ├── instanceOf.js.flow │ │ │ │ ├── getViewportRect.js.flow │ │ │ │ ├── listScrollParents.js │ │ │ │ └── getDocumentRect.js │ │ │ ├── popper-base.d.ts │ │ │ ├── modifiers │ │ │ │ ├── hide.d.ts │ │ │ │ ├── applyStyles.d.ts │ │ │ │ ├── popperOffsets.d.ts │ │ │ │ ├── eventListeners.d.ts │ │ │ │ ├── arrow.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── index.js.flow │ │ │ │ ├── flip.d.ts │ │ │ │ ├── offset.d.ts │ │ │ │ ├── popperOffsets.js │ │ │ │ ├── popperOffsets.js.flow │ │ │ │ └── preventOverflow.d.ts │ │ │ ├── popper-base.js │ │ │ ├── popper-base.js.flow │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── index.js.flow │ │ │ ├── popper-lite.js │ │ │ ├── popper-lite.js.flow │ │ │ ├── popper-lite.d.ts │ │ │ ├── createPopper.d.ts │ │ │ ├── popper.d.ts │ │ │ ├── popper.js │ │ │ └── popper.js.flow │ │ │ ├── dist │ │ │ ├── esm │ │ │ │ ├── types.js │ │ │ │ ├── utils │ │ │ │ │ ├── getAltAxis.js │ │ │ │ │ ├── math.js │ │ │ │ │ ├── getVariation.js │ │ │ │ │ ├── getAltLen.js │ │ │ │ │ ├── getBasePlacement.js │ │ │ │ │ ├── getMainAxisFromPlacement.js │ │ │ │ │ ├── getFreshSideObject.js │ │ │ │ │ ├── expandToHashMap.js │ │ │ │ │ ├── mergePaddingObject.js │ │ │ │ │ ├── rectToClientRect.js │ │ │ │ │ ├── getOppositeVariationPlacement.js │ │ │ │ │ ├── within.js │ │ │ │ │ ├── uniqueBy.js │ │ │ │ │ ├── getOppositePlacement.js │ │ │ │ │ ├── format.js │ │ │ │ │ ├── userAgent.js │ │ │ │ │ ├── debounce.js │ │ │ │ │ └── mergeByName.js │ │ │ │ ├── dom-utils │ │ │ │ │ ├── getNodeName.js │ │ │ │ │ ├── getComputedStyle.js │ │ │ │ │ ├── getHTMLElementScroll.js │ │ │ │ │ ├── isLayoutViewport.js │ │ │ │ │ ├── isTableElement.js │ │ │ │ │ ├── getWindowScroll.js │ │ │ │ │ ├── getWindow.js │ │ │ │ │ ├── getDocumentElement.js │ │ │ │ │ ├── getNodeScroll.js │ │ │ │ │ ├── isScrollParent.js │ │ │ │ │ ├── getScrollParent.js │ │ │ │ │ ├── instanceOf.js │ │ │ │ │ ├── contains.js │ │ │ │ │ ├── getWindowScrollBarX.js │ │ │ │ │ ├── getParentNode.js │ │ │ │ │ ├── getLayoutRect.js │ │ │ │ │ ├── getViewportRect.js │ │ │ │ │ └── listScrollParents.js │ │ │ │ ├── popper-base.js │ │ │ │ ├── index.js │ │ │ │ ├── modifiers │ │ │ │ │ ├── index.js │ │ │ │ │ └── popperOffsets.js │ │ │ │ ├── popper-lite.js │ │ │ │ └── popper.js │ │ │ ├── cjs │ │ │ │ ├── enums.js.flow │ │ │ │ ├── popper.js.flow │ │ │ │ ├── popper-base.js.flow │ │ │ │ └── popper-lite.js.flow │ │ │ └── umd │ │ │ │ ├── enums.min.js.flow │ │ │ │ ├── popper.min.js.flow │ │ │ │ ├── popper-base.min.js.flow │ │ │ │ ├── popper-lite.min.js.flow │ │ │ │ └── enums.min.js │ │ │ ├── index.d.ts │ │ │ └── LICENSE.md │ ├── bootstrap │ │ ├── scss │ │ │ ├── helpers │ │ │ │ ├── _clearfix.scss │ │ │ │ ├── _text-truncation.scss │ │ │ │ ├── _visually-hidden.scss │ │ │ │ ├── _vr.scss │ │ │ │ ├── _stretched-link.scss │ │ │ │ ├── _stacks.scss │ │ │ │ ├── _color-bg.scss │ │ │ │ ├── _colored-links.scss │ │ │ │ ├── _ratio.scss │ │ │ │ └── _position.scss │ │ │ ├── mixins │ │ │ │ ├── _clearfix.scss │ │ │ │ ├── _lists.scss │ │ │ │ ├── _color-scheme.scss │ │ │ │ ├── _text-truncate.scss │ │ │ │ ├── _resize.scss │ │ │ │ ├── _banner.scss │ │ │ │ ├── _backdrop.scss │ │ │ │ ├── _pagination.scss │ │ │ │ ├── _alert.scss │ │ │ │ ├── _container.scss │ │ │ │ ├── _image.scss │ │ │ │ ├── _box-shadow.scss │ │ │ │ ├── _reset-text.scss │ │ │ │ ├── _list-group.scss │ │ │ │ ├── _deprecate.scss │ │ │ │ ├── _transition.scss │ │ │ │ ├── _visually-hidden.scss │ │ │ │ └── _table-variants.scss │ │ │ ├── bootstrap-reboot.scss │ │ │ ├── forms │ │ │ │ ├── _form-text.scss │ │ │ │ ├── _validation.scss │ │ │ │ └── _labels.scss │ │ │ ├── _forms.scss │ │ │ ├── _helpers.scss │ │ │ ├── bootstrap-utilities.scss │ │ │ ├── _transitions.scss │ │ │ ├── _grid.scss │ │ │ ├── _mixins.scss │ │ │ ├── _placeholders.scss │ │ │ ├── bootstrap.scss │ │ │ ├── _badge.scss │ │ │ ├── _close.scss │ │ │ └── _images.scss │ │ ├── LICENSE │ │ └── js │ │ │ └── src │ │ │ └── util │ │ │ └── component-functions.js │ └── .package-lock.json ├── package.json ├── footer.php ├── css │ └── style.scss ├── images │ └── slides │ │ ├── slide1.jpg │ │ ├── slide2.jpg │ │ └── slide3.jpg ├── index.php ├── about.php └── header.php ├── l11-formValidation ├── node_modules │ ├── delayed-stream │ │ ├── .npmignore │ │ ├── Makefile │ │ ├── package.json │ │ └── License │ ├── axios │ │ ├── lib │ │ │ ├── env │ │ │ │ ├── data.js │ │ │ │ ├── classes │ │ │ │ │ └── FormData.js │ │ │ │ └── README.md │ │ │ ├── helpers │ │ │ │ ├── null.js │ │ │ │ ├── bind.js │ │ │ │ ├── parseProtocol.js │ │ │ │ ├── README.md │ │ │ │ ├── readBlob.js │ │ │ │ ├── isAxiosError.js │ │ │ │ ├── combineURLs.js │ │ │ │ ├── isAbsoluteURL.js │ │ │ │ ├── toURLEncodedForm.js │ │ │ │ ├── spread.js │ │ │ │ ├── ZlibHeaderTransformStream.js │ │ │ │ ├── throttle.js │ │ │ │ ├── deprecatedMethod.js │ │ │ │ └── speedometer.js │ │ │ ├── platform │ │ │ │ ├── index.js │ │ │ │ ├── node │ │ │ │ │ ├── classes │ │ │ │ │ │ ├── FormData.js │ │ │ │ │ │ └── URLSearchParams.js │ │ │ │ │ └── index.js │ │ │ │ └── browser │ │ │ │ │ └── classes │ │ │ │ │ ├── Blob.js │ │ │ │ │ ├── FormData.js │ │ │ │ │ └── URLSearchParams.js │ │ │ ├── cancel │ │ │ │ ├── isCancel.js │ │ │ │ └── CanceledError.js │ │ │ ├── defaults │ │ │ │ └── transitional.js │ │ │ ├── core │ │ │ │ ├── README.md │ │ │ │ ├── buildFullPath.js │ │ │ │ ├── transformData.js │ │ │ │ └── settle.js │ │ │ └── adapters │ │ │ │ └── README.md │ │ ├── MIGRATION_GUIDE.md │ │ ├── SECURITY.md │ │ ├── index.js │ │ └── LICENSE │ ├── follow-redirects │ │ ├── http.js │ │ ├── https.js │ │ ├── debug.js │ │ └── LICENSE │ ├── form-data │ │ ├── lib │ │ │ ├── browser.js │ │ │ └── populate.js │ │ └── License │ ├── asynckit │ │ ├── index.js │ │ ├── lib │ │ │ ├── defer.js │ │ │ ├── abort.js │ │ │ ├── terminator.js │ │ │ ├── async.js │ │ │ ├── readable_serial.js │ │ │ ├── readable_parallel.js │ │ │ ├── readable_serial_ordered.js │ │ │ └── state.js │ │ ├── serial.js │ │ ├── stream.js │ │ ├── LICENSE │ │ └── parallel.js │ ├── mime-db │ │ ├── index.js │ │ └── LICENSE │ ├── proxy-from-env │ │ ├── .travis.yml │ │ ├── .eslintrc │ │ ├── package.json │ │ └── LICENSE │ ├── combined-stream │ │ ├── yarn.lock │ │ ├── package.json │ │ └── License │ └── mime-types │ │ ├── LICENSE │ │ └── package.json ├── package.json ├── index.php ├── footer.php ├── formValidation.php ├── header.php ├── formValidation.js ├── nav.php └── signup.php ├── ajax └── background.php ├── fileUpload ├── bandarban.jpg ├── uploads │ ├── a640c239f091fc211029B0rhMru0a86a2m7MS7L2acdt1ry55tj67a3S25A4ta5.jpg │ ├── a640c239f0953d1h102dm7rytcb3aEr703S8aAM81r33ha81370t255a5a0M4Su.png │ └── a640c239f097530mMDa5Mu0a211a5mt0hti47c51A231yaaP1r31rS2M210S67dl.jpg ├── newName.php └── style.css ├── l9- HTML with PHP ├── css │ ├── style.scss │ ├── style.min.css │ └── style.min.css.map └── index.php ├── l-13-CRUD ├── logout.php └── footer.php ├── l-14-session ├── page2.php └── page1.php ├── l17-oop-typephp.php ├── bootstrapPHP └── index.php ├── l6-loop.php ├── l15-oop-property.php ├── l4-function.php ├── l5-builiinFunction.php ├── l16-oop-cd.php ├── l1-dataTypes.php ├── niyamot └── haha.php ├── l2-operators.php ├── l8-date.php └── l3-condition.php /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/delayed-stream/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /ajax/background.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './lib'; 2 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/env/data.js: -------------------------------------------------------------------------------- 1 | export const VERSION = "1.3.4"; -------------------------------------------------------------------------------- /l11-formValidation/node_modules/follow-redirects/http.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").http; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "bootstrap": "^5.2.3" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/follow-redirects/https.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./").https; 2 | -------------------------------------------------------------------------------- /l11-formValidation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "axios": "^1.3.4" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /fileUpload/bandarban.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/fileUpload/bandarban.jpg -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/MIGRATION_GUIDE.md: -------------------------------------------------------------------------------- 1 | # Migration Guide 2 | 3 | ## 0.x.x -> 1.1.0 4 | -------------------------------------------------------------------------------- /l9- HTML with PHP/css/style.scss: -------------------------------------------------------------------------------- 1 | *{ 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_clearfix.scss: -------------------------------------------------------------------------------- 1 | .clearfix { 2 | @include clearfix(); 3 | } 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/userAgent.d.ts: -------------------------------------------------------------------------------- 1 | export default function getUAString(): string; 2 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/null.js: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line strict 2 | export default null; 3 | -------------------------------------------------------------------------------- /l-13-CRUD/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/cjs/enums.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/enums.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/cjs/popper.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/popper.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/umd/enums.min.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/enums.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindow.d.ts: -------------------------------------------------------------------------------- 1 | export default function getWindow(node: any): any; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/umd/popper.min.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/popper.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/css/style.scss: -------------------------------------------------------------------------------- 1 | @import "../node_modules/bootstrap/scss/bootstrap"; 2 | 3 | .yv { 4 | background: $pink-600; 5 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/cjs/popper-base.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/popper-base.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/cjs/popper-lite.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/popper-lite.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.d.ts: -------------------------------------------------------------------------------- 1 | export default function isLayoutViewport(): boolean; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getAltAxis.d.ts: -------------------------------------------------------------------------------- 1 | export default function getAltAxis(axis: "x" | "y"): "x" | "y"; 2 | -------------------------------------------------------------------------------- /l-14-session/page2.php: -------------------------------------------------------------------------------- 1 | "; 6 | echo $_SESSION['city']; 7 | ?> -------------------------------------------------------------------------------- /l10-bootstrapPHP/images/slides/slide1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/l10-bootstrapPHP/images/slides/slide1.jpg -------------------------------------------------------------------------------- /l10-bootstrapPHP/images/slides/slide2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/l10-bootstrapPHP/images/slides/slide2.jpg -------------------------------------------------------------------------------- /l10-bootstrapPHP/images/slides/slide3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/l10-bootstrapPHP/images/slides/slide3.jpg -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/umd/popper-base.min.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/popper-base.js' 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/umd/popper-lite.min.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export * from '../../lib/popper-lite.js' 4 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/index.js: -------------------------------------------------------------------------------- 1 | import platform from './node/index.js'; 2 | 3 | export {platform as default} 4 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/delayed-stream/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | .PHONY: test 7 | 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.d.ts: -------------------------------------------------------------------------------- 1 | export default function getOffsetParent(element: Element): any; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/format.d.ts: -------------------------------------------------------------------------------- 1 | export default function format(str: string, ...args: Array): string; 2 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/node/classes/FormData.js: -------------------------------------------------------------------------------- 1 | import FormData from 'form-data'; 2 | 3 | export default FormData; 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/contains.d.ts: -------------------------------------------------------------------------------- 1 | export default function contains(parent: Element, child: Element): boolean; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.d.ts: -------------------------------------------------------------------------------- 1 | export default function getScrollParent(node: Node): HTMLElement; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.d.ts: -------------------------------------------------------------------------------- 1 | export default function isScrollParent(element: HTMLElement): boolean; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isTableElement.d.ts: -------------------------------------------------------------------------------- 1 | export default function isTableElement(element: Element): boolean; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getAltLen.d.ts: -------------------------------------------------------------------------------- 1 | export default function getAltLen(len: "width" | "height"): "width" | "height"; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/validateModifiers.d.ts: -------------------------------------------------------------------------------- 1 | export default function validateModifiers(modifiers: Array): void; 2 | -------------------------------------------------------------------------------- /l9- HTML with PHP/css/style.min.css: -------------------------------------------------------------------------------- 1 | *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}/*# sourceMappingURL=style.min.css.map */ -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getParentNode.d.ts: -------------------------------------------------------------------------------- 1 | export default function getParentNode(element: Node | ShadowRoot): Node; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.d.ts: -------------------------------------------------------------------------------- 1 | export default function getWindowScrollBarX(element: Element): number; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getAltAxis.js: -------------------------------------------------------------------------------- 1 | export default function getAltAxis(axis) { 2 | return axis === 'x' ? 'y' : 'x'; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/math.js: -------------------------------------------------------------------------------- 1 | export var max = Math.max; 2 | export var min = Math.min; 3 | export var round = Math.round; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/uniqueBy.d.ts: -------------------------------------------------------------------------------- 1 | export default function uniqueBy(arr: Array, fn: (arg0: T) => any): Array; 2 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/browser/classes/Blob.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | export default typeof Blob !== 'undefined' ? Blob : null 4 | -------------------------------------------------------------------------------- /l-13-CRUD/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getAltAxis.js: -------------------------------------------------------------------------------- 1 | export default function getAltAxis(axis) { 2 | return axis === 'x' ? 'y' : 'x'; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/math.js: -------------------------------------------------------------------------------- 1 | export var max = Math.max; 2 | export var min = Math.min; 3 | export var round = Math.round; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/debounce.d.ts: -------------------------------------------------------------------------------- 1 | export default function debounce(fn: (...args: Array) => any): () => Promise; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getVariation.js: -------------------------------------------------------------------------------- 1 | export default function getVariation(placement) { 2 | return placement.split('-')[1]; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getVariation.js: -------------------------------------------------------------------------------- 1 | export default function getVariation(placement) { 2 | return placement.split('-')[1]; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.d.ts: -------------------------------------------------------------------------------- 1 | export default function getComputedStyle(element: Element): CSSStyleDeclaration; 2 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getAltLen.js: -------------------------------------------------------------------------------- 1 | export default function getAltLen(len) { 2 | return len === 'width' ? 'height' : 'width'; 3 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/form-data/lib/browser.js: -------------------------------------------------------------------------------- 1 | /* eslint-env browser */ 2 | module.exports = typeof self == 'object' ? self.FormData : window.FormData; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getAltLen.js: -------------------------------------------------------------------------------- 1 | export default function getAltLen(len) { 2 | return len === 'width' ? 'height' : 'width'; 3 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/browser/classes/FormData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default typeof FormData !== 'undefined' ? FormData : null; 4 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/node/classes/URLSearchParams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import url from 'url'; 4 | export default url.URLSearchParams; 5 | -------------------------------------------------------------------------------- /l9- HTML with PHP/css/style.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["style.scss"],"names":[],"mappings":"AAAA,EACI,QAAA,CACA,SAAA,CACA,6BAAA,CAAA,qBAAA","file":"style.min.css"} -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_text-truncation.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Text truncation 3 | // 4 | 5 | .text-truncate { 6 | @include text-truncate(); 7 | } 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/math.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | export const max = Math.max; 3 | export const min = Math.min; 4 | export const round = Math.round; 5 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/cancel/isCancel.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function isCancel(value) { 4 | return !!(value && value.__CANCEL__); 5 | } 6 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/env/classes/FormData.js: -------------------------------------------------------------------------------- 1 | import _FormData from 'form-data'; 2 | export default typeof FormData !== 'undefined' ? FormData : _FormData; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getFreshSideObject.d.ts: -------------------------------------------------------------------------------- 1 | import type { SideObject } from "../types"; 2 | export default function getFreshSideObject(): SideObject; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { Rect } from "../types"; 2 | export default function getLayoutRect(element: HTMLElement): Rect; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { Rect } from "../types"; 2 | export default function getDocumentRect(element: HTMLElement): Rect; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js: -------------------------------------------------------------------------------- 1 | export default function getNodeName(element) { 2 | return element ? (element.nodeName || '').toLowerCase() : null; 3 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/env/README.md: -------------------------------------------------------------------------------- 1 | # axios // env 2 | 3 | The `data.js` file is updated automatically when the package version is upgrading. Please do not edit it manually. 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getNodeName.js: -------------------------------------------------------------------------------- 1 | export default function getNodeName(element) { 2 | return element ? (element.nodeName || '').toLowerCase() : null; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getAltAxis.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function getAltAxis(axis: 'x' | 'y'): 'x' | 'y' { 4 | return axis === 'x' ? 'y' : 'x'; 5 | } 6 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getBasePlacement.js: -------------------------------------------------------------------------------- 1 | import { auto } from "../enums.js"; 2 | export default function getBasePlacement(placement) { 3 | return placement.split('-')[0]; 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getOppositePlacement.d.ts: -------------------------------------------------------------------------------- 1 | import type { Placement } from "../enums"; 2 | export default function getOppositePlacement(placement: Placement): Placement; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/rectToClientRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { Rect, ClientRectObject } from "../types"; 2 | export default function rectToClientRect(rect: Rect): ClientRectObject; 3 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/defaults/transitional.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default { 4 | silentJSONParsing: true, 5 | forcedJSONParsing: true, 6 | clarifyTimeoutError: false 7 | }; 8 | -------------------------------------------------------------------------------- /l-14-session/page1.php: -------------------------------------------------------------------------------- 1 | "; 8 | 9 | $_SESSION['city'] = "Dhaka"; 10 | echo $_SESSION['city']; 11 | ?> -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getBasePlacement.js: -------------------------------------------------------------------------------- 1 | import { auto } from "../enums.js"; 2 | export default function getBasePlacement(placement) { 3 | return placement.split('-')[0]; 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.d.ts: -------------------------------------------------------------------------------- 1 | import type { Window } from "../types"; 2 | export default function getDocumentElement(element: Element | Window): HTMLElement; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.d.ts: -------------------------------------------------------------------------------- 1 | import type { Placement } from "../enums"; 2 | export default function getMainAxisFromPlacement(placement: Placement): "x" | "y"; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js: -------------------------------------------------------------------------------- 1 | export default function getMainAxisFromPlacement(placement) { 2 | return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getMainAxisFromPlacement.js: -------------------------------------------------------------------------------- 1 | export default function getMainAxisFromPlacement(placement) { 2 | return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; 3 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.d.ts: -------------------------------------------------------------------------------- 1 | export default function getHTMLElementScroll(element: HTMLElement): { 2 | scrollLeft: number; 3 | scrollTop: number; 4 | }; 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js: -------------------------------------------------------------------------------- 1 | export default function getFreshSideObject() { 2 | return { 3 | top: 0, 4 | right: 0, 5 | bottom: 0, 6 | left: 0 7 | }; 8 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getVariation.d.ts: -------------------------------------------------------------------------------- 1 | import { Variation, Placement } from "../enums"; 2 | export default function getVariation(placement: Placement): Variation | null | undefined; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/mergePaddingObject.d.ts: -------------------------------------------------------------------------------- 1 | import type { SideObject } from "../types"; 2 | export default function mergePaddingObject(paddingObject: Partial): SideObject; 3 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/bind.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function bind(fn, thisArg) { 4 | return function wrap() { 5 | return fn.apply(thisArg, arguments); 6 | }; 7 | } 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getFreshSideObject.js: -------------------------------------------------------------------------------- 1 | export default function getFreshSideObject() { 2 | return { 3 | top: 0, 4 | right: 0, 5 | bottom: 0, 6 | left: 0 7 | }; 8 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.d.ts: -------------------------------------------------------------------------------- 1 | import type { Placement } from "../enums"; 2 | export default function getOppositeVariationPlacement(placement: Placement): Placement; 3 | -------------------------------------------------------------------------------- /fileUpload/uploads/a640c239f091fc211029B0rhMru0a86a2m7MS7L2acdt1ry55tj67a3S25A4ta5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/fileUpload/uploads/a640c239f091fc211029B0rhMru0a86a2m7MS7L2acdt1ry55tj67a3S25A4ta5.jpg -------------------------------------------------------------------------------- /fileUpload/uploads/a640c239f0953d1h102dm7rytcb3aEr703S8aAM81r33ha81370t255a5a0M4Su.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/fileUpload/uploads/a640c239f0953d1h102dm7rytcb3aEr703S8aAM81r33ha81370t255a5a0M4Su.png -------------------------------------------------------------------------------- /fileUpload/uploads/a640c239f097530mMDa5Mu0a211a5mt0hti47c51A231yaaP1r31rS2M210S67dl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asif-daffodil/b78mPHP/master/fileUpload/uploads/a640c239f097530mMDa5Mu0a211a5mt0hti47c51A231yaaP1r31rS2M210S67dl.jpg -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getNodeName.d.ts: -------------------------------------------------------------------------------- 1 | import type { Window } from "../types"; 2 | export default function getNodeName(element: (Node | null | undefined) | Window): string | null | undefined; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/format.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function format(str: string, ...args: Array) { 4 | return [...args].reduce((p, c) => p.replace(/%s/, c), str); 5 | } 6 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getAltLen.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function getAltLen(len: 'width' | 'height'): 'width' | 'height' { 4 | return len === 'width' ? 'height' : 'width'; 5 | } 6 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/orderModifiers.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier } from "../types"; 2 | export default function orderModifiers(modifiers: Array>): Array>; 3 | -------------------------------------------------------------------------------- /l11-formValidation/index.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | { 3 | parallel : require('./parallel.js'), 4 | serial : require('./serial.js'), 5 | serialOrdered : require('./serialOrdered.js') 6 | }; 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | export default function getComputedStyle(element) { 3 | return getWindow(element).getComputedStyle(element); 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/expandToHashMap.d.ts: -------------------------------------------------------------------------------- 1 | export default function expandToHashMap(value: T, keys: Array): { 2 | [key: string]: T; 3 | }; 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getBasePlacement.d.ts: -------------------------------------------------------------------------------- 1 | import { BasePlacement, Placement, auto } from "../enums"; 2 | export default function getBasePlacement(placement: Placement | typeof auto): BasePlacement; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getComputedStyle.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | export default function getComputedStyle(element) { 3 | return getWindow(element).getComputedStyle(element); 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.d.ts: -------------------------------------------------------------------------------- 1 | import type { Window } from "../types"; 2 | export default function getNodeScroll(node: Node | Window): { 3 | scrollLeft: any; 4 | scrollTop: any; 5 | }; 6 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper-base.d.ts: -------------------------------------------------------------------------------- 1 | import { createPopper, popperGenerator, detectOverflow } from "./createPopper"; 2 | export * from "./types"; 3 | export { createPopper, popperGenerator, detectOverflow }; 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/mergeByName.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier } from "../types"; 2 | export default function mergeByName(modifiers: Array>>): Array>>; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_visually-hidden.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Visually hidden 3 | // 4 | 5 | .visually-hidden, 6 | .visually-hidden-focusable:not(:focus):not(:focus-within) { 7 | @include visually-hidden(); 8 | } 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_vr.scss: -------------------------------------------------------------------------------- 1 | .vr { 2 | display: inline-block; 3 | align-self: stretch; 4 | width: 1px; 5 | min-height: 1em; 6 | background-color: currentcolor; 7 | opacity: $hr-opacity; 8 | } 9 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/parseProtocol.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | export default function parseProtocol(url) { 4 | const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); 5 | return match && match[1] || ''; 6 | } 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js: -------------------------------------------------------------------------------- 1 | export default function getHTMLElementScroll(element) { 2 | return { 3 | scrollLeft: element.scrollLeft, 4 | scrollTop: element.scrollTop 5 | }; 6 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.d.ts: -------------------------------------------------------------------------------- 1 | import type { Window } from "../types"; 2 | export default function getWindowScroll(node: Node | Window): { 3 | scrollLeft: any; 4 | scrollTop: any; 5 | }; 6 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/hide.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier } from "../types"; 2 | export declare type HideModifier = Modifier<"hide", {}>; 3 | declare const _default: HideModifier; 4 | export default _default; 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/math.d.ts: -------------------------------------------------------------------------------- 1 | export declare const max: (...values: number[]) => number; 2 | export declare const min: (...values: number[]) => number; 3 | export declare const round: (x: number) => number; 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/within.d.ts: -------------------------------------------------------------------------------- 1 | export declare function within(min: number, value: number, max: number): number; 2 | export declare function withinMaxClamp(min: number, value: number, max: number): number; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getHTMLElementScroll.js: -------------------------------------------------------------------------------- 1 | export default function getHTMLElementScroll(element) { 2 | return { 3 | scrollLeft: element.scrollLeft, 4 | scrollTop: element.scrollTop 5 | }; 6 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js: -------------------------------------------------------------------------------- 1 | import getUAString from "../utils/userAgent.js"; 2 | export default function isLayoutViewport() { 3 | return !/^((?!chrome|android).)*safari/i.test(getUAString()); 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js: -------------------------------------------------------------------------------- 1 | import getNodeName from "./getNodeName.js"; 2 | export default function isTableElement(element) { 3 | return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/expandToHashMap.js: -------------------------------------------------------------------------------- 1 | export default function expandToHashMap(value, keys) { 2 | return keys.reduce(function (hashMap, key) { 3 | hashMap[key] = value; 4 | return hashMap; 5 | }, {}); 6 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/isLayoutViewport.js: -------------------------------------------------------------------------------- 1 | import getUAString from "../utils/userAgent.js"; 2 | export default function isLayoutViewport() { 3 | return !/^((?!chrome|android).)*safari/i.test(getUAString()); 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/isTableElement.js: -------------------------------------------------------------------------------- 1 | import getNodeName from "./getNodeName.js"; 2 | export default function isTableElement(element) { 3 | return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/expandToHashMap.js: -------------------------------------------------------------------------------- 1 | export default function expandToHashMap(value, keys) { 2 | return keys.reduce(function (hashMap, key) { 3 | hashMap[key] = value; 4 | return hashMap; 5 | }, {}); 6 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_clearfix.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start clearfix 2 | @mixin clearfix() { 3 | &::after { 4 | display: block; 5 | clear: both; 6 | content: ""; 7 | } 8 | } 9 | // scss-docs-end clearfix 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_lists.scss: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | // Unstyled keeps list items block level, just removes default browser padding and list-style 4 | @mixin list-unstyled { 5 | padding-left: 0; 6 | list-style: none; 7 | } 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper-base.js: -------------------------------------------------------------------------------- 1 | import { createPopper, popperGenerator, detectOverflow } from "./createPopper.js"; 2 | // eslint-disable-next-line import/no-unused-modules 3 | export { createPopper, popperGenerator, detectOverflow }; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_color-scheme.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start mixin-color-scheme 2 | @mixin color-scheme($name) { 3 | @media (prefers-color-scheme: #{$name}) { 4 | @content; 5 | } 6 | } 7 | // scss-docs-end mixin-color-scheme 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/popper-base.js: -------------------------------------------------------------------------------- 1 | import { createPopper, popperGenerator, detectOverflow } from "./createPopper.js"; 2 | // eslint-disable-next-line import/no-unused-modules 3 | export { createPopper, popperGenerator, detectOverflow }; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js: -------------------------------------------------------------------------------- 1 | import getFreshSideObject from "./getFreshSideObject.js"; 2 | export default function mergePaddingObject(paddingObject) { 3 | return Object.assign({}, getFreshSideObject(), paddingObject); 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_text-truncate.scss: -------------------------------------------------------------------------------- 1 | // Text truncate 2 | // Requires inline-block or block for proper styling 3 | 4 | @mixin text-truncate() { 5 | overflow: hidden; 6 | text-overflow: ellipsis; 7 | white-space: nowrap; 8 | } 9 | -------------------------------------------------------------------------------- /l11-formValidation/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/index.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/mergePaddingObject.js: -------------------------------------------------------------------------------- 1 | import getFreshSideObject from "./getFreshSideObject.js"; 2 | export default function mergePaddingObject(paddingObject) { 3 | return Object.assign({}, getFreshSideObject(), paddingObject); 4 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getUAString from '../utils/userAgent'; 3 | 4 | export default function isLayoutViewport() { 5 | return !/^((?!chrome|android).)*safari/i.test(getUAString()); 6 | } 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.d.ts: -------------------------------------------------------------------------------- 1 | import type { Window, VisualViewport } from "../types"; 2 | export default function listScrollParents(element: Node, list?: Array): Array; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/applyStyles.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier } from "../types"; 2 | export declare type ApplyStylesModifier = Modifier<"applyStyles", {}>; 3 | declare const _default: ApplyStylesModifier; 4 | export default _default; 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/bootstrap-reboot.scss: -------------------------------------------------------------------------------- 1 | @import "mixins/banner"; 2 | @include bsBanner(Reboot); 3 | 4 | @import "functions"; 5 | @import "variables"; 6 | @import "maps"; 7 | @import "mixins"; 8 | @import "root"; 9 | @import "reboot"; 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/popperOffsets.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier } from "../types"; 2 | export declare type PopperOffsetsModifier = Modifier<"popperOffsets", {}>; 3 | declare const _default: PopperOffsetsModifier; 4 | export default _default; 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function getHTMLElementScroll(element: HTMLElement) { 4 | return { 5 | scrollLeft: element.scrollLeft, 6 | scrollTop: element.scrollTop, 7 | }; 8 | } 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getVariation.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { type Variation, type Placement } from '../enums'; 3 | 4 | export default function getVariation(placement: Placement): ?Variation { 5 | return (placement.split('-')[1]: any); 6 | } 7 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/form-data/lib/populate.js: -------------------------------------------------------------------------------- 1 | // populates missing values 2 | module.exports = function(dst, src) { 3 | 4 | Object.keys(src).forEach(function(prop) 5 | { 6 | dst[prop] = dst[prop] || src[prop]; 7 | }); 8 | 9 | return dst; 10 | }; 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Window } from '../types'; 3 | 4 | export default function getNodeName(element: ?Node | Window): ?string { 5 | return element ? (element.nodeName || '').toLowerCase() : null; 6 | } 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getNodeName from './getNodeName'; 3 | 4 | export default function isTableElement(element: Element): boolean { 5 | return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0; 6 | } 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/rectToClientRect.js: -------------------------------------------------------------------------------- 1 | export default function rectToClientRect(rect) { 2 | return Object.assign({}, rect, { 3 | left: rect.x, 4 | top: rect.y, 5 | right: rect.x + rect.width, 6 | bottom: rect.y + rect.height 7 | }); 8 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_resize.scss: -------------------------------------------------------------------------------- 1 | // Resize anything 2 | 3 | @mixin resizable($direction) { 4 | overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` 5 | resize: $direction; // Options: horizontal, vertical, both 6 | } 7 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js'; 4 | export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams; 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/rectToClientRect.js: -------------------------------------------------------------------------------- 1 | export default function rectToClientRect(rect) { 2 | return Object.assign({}, rect, { 3 | left: rect.x, 4 | top: rect.y, 5 | right: rect.x + rect.width, 6 | bottom: rect.y + rect.height 7 | }); 8 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/mime-db/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * mime-db 3 | * Copyright(c) 2014 Jonathan Ong 4 | * Copyright(c) 2015-2022 Douglas Christopher Wilson 5 | * MIT Licensed 6 | */ 7 | 8 | /** 9 | * Module exports. 10 | */ 11 | 12 | module.exports = require('./db.json') 13 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { Rect, VirtualElement, Window } from "../types"; 2 | export default function getCompositeRect(elementOrVirtualElement: Element | VirtualElement, offsetParent: Element | Window, isFixed?: boolean): Rect; 3 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getWindow from './getWindow'; 3 | 4 | export default function getComputedStyle( 5 | element: Element 6 | ): CSSStyleDeclaration { 7 | return getWindow(element).getComputedStyle(element); 8 | } 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/instanceOf.d.ts: -------------------------------------------------------------------------------- 1 | declare function isElement(node: unknown): boolean; 2 | declare function isHTMLElement(node: unknown): boolean; 3 | declare function isShadowRoot(node: unknown): boolean; 4 | export { isElement, isHTMLElement, isShadowRoot }; 5 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { ClientRectObject, VirtualElement } from "../types"; 2 | export default function getBoundingClientRect(element: Element | VirtualElement, includeScale?: boolean, isFixedStrategy?: boolean): ClientRectObject; 3 | -------------------------------------------------------------------------------- /l17-oop-typephp.php: -------------------------------------------------------------------------------- 1 | josef; 13 | echo $obj->mirz(5.2, 6.1); 14 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { SideObject } from '../types'; 3 | 4 | export default function getFreshSideObject(): SideObject { 5 | return { 6 | top: 0, 7 | right: 0, 8 | bottom: 0, 9 | left: 0, 10 | }; 11 | } 12 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { PositioningStrategy } from "../types"; 2 | export default function getViewportRect(element: Element, strategy: PositioningStrategy): { 3 | width: number; 4 | height: number; 5 | x: number; 6 | y: number; 7 | }; 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper-base.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { createPopper, popperGenerator, detectOverflow } from './createPopper'; 3 | 4 | export type * from './types'; 5 | 6 | // eslint-disable-next-line import/no-unused-modules 7 | export { createPopper, popperGenerator, detectOverflow }; 8 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Placement } from '../enums'; 3 | 4 | export default function getMainAxisFromPlacement( 5 | placement: Placement 6 | ): 'x' | 'y' { 7 | return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y'; 8 | } 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js: -------------------------------------------------------------------------------- 1 | var hash = { 2 | start: 'end', 3 | end: 'start' 4 | }; 5 | export default function getOppositeVariationPlacement(placement) { 6 | return placement.replace(/start|end/g, function (matched) { 7 | return hash[matched]; 8 | }); 9 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getOppositeVariationPlacement.js: -------------------------------------------------------------------------------- 1 | var hash = { 2 | start: 'end', 3 | end: 'start' 4 | }; 5 | export default function getOppositeVariationPlacement(placement) { 6 | return placement.replace(/start|end/g, function (matched) { 7 | return hash[matched]; 8 | }); 9 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getBasePlacement.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { type BasePlacement, type Placement, auto } from '../enums'; 3 | 4 | export default function getBasePlacement( 5 | placement: Placement | typeof auto 6 | ): BasePlacement { 7 | return (placement.split('-')[0]: any); 8 | } 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/forms/_form-text.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Form text 3 | // 4 | 5 | .form-text { 6 | margin-top: $form-text-margin-top; 7 | @include font-size($form-text-font-size); 8 | font-style: $form-text-font-style; 9 | font-weight: $form-text-font-weight; 10 | color: $form-text-color; 11 | } 12 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/about.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 |
8 |
9 | About Us 10 |
11 |
12 |
13 | 14 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/within.js: -------------------------------------------------------------------------------- 1 | import { max as mathMax, min as mathMin } from "./math.js"; 2 | export function within(min, value, max) { 3 | return mathMax(min, mathMin(value, max)); 4 | } 5 | export function withinMaxClamp(min, value, max) { 6 | var v = within(min, value, max); 7 | return v > max ? max : v; 8 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_forms.scss: -------------------------------------------------------------------------------- 1 | @import "forms/labels"; 2 | @import "forms/form-text"; 3 | @import "forms/form-control"; 4 | @import "forms/form-select"; 5 | @import "forms/form-check"; 6 | @import "forms/form-range"; 7 | @import "forms/floating-labels"; 8 | @import "forms/input-group"; 9 | @import "forms/validation"; 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/within.js: -------------------------------------------------------------------------------- 1 | import { max as mathMax, min as mathMin } from "./math.js"; 2 | export function within(min, value, max) { 3 | return mathMax(min, mathMin(value, max)); 4 | } 5 | export function withinMaxClamp(min, value, max) { 6 | var v = within(min, value, max); 7 | return v > max ? max : v; 8 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting a Vulnerability 2 | 3 | If you discover a security vulnerability in axios please disclose it via [our huntr page](https://huntr.dev/repos/axios/axios/). Bounty eligibility, CVE assignment, response times and past reports are all there. 4 | 5 | 6 | Thank you for improving the security of axios. 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./enums"; 3 | export * from "./modifiers"; 4 | export { popperGenerator, detectOverflow, createPopper as createPopperBase } from "./createPopper"; 5 | export { createPopper } from "./popper"; 6 | export { createPopper as createPopperLite } from "./popper-lite"; 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/uniqueBy.js: -------------------------------------------------------------------------------- 1 | export default function uniqueBy(arr, fn) { 2 | var identifiers = new Set(); 3 | return arr.filter(function (item) { 4 | var identifier = fn(item); 5 | 6 | if (!identifiers.has(identifier)) { 7 | identifiers.add(identifier); 8 | return true; 9 | } 10 | }); 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_stretched-link.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Stretched link 3 | // 4 | 5 | .stretched-link { 6 | &::#{$stretched-link-pseudo-element} { 7 | position: absolute; 8 | top: 0; 9 | right: 0; 10 | bottom: 0; 11 | left: 0; 12 | z-index: $stretched-link-z-index; 13 | content: ""; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_banner.scss: -------------------------------------------------------------------------------- 1 | @mixin bsBanner($file) { 2 | /*! 3 | * Bootstrap #{$file} v5.2.3 (https://getbootstrap.com/) 4 | * Copyright 2011-2022 The Bootstrap Authors 5 | * Copyright 2011-2022 Twitter, Inc. 6 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 7 | */ 8 | } 9 | 10 | -------------------------------------------------------------------------------- /l11-formValidation/formValidation.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/uniqueBy.js: -------------------------------------------------------------------------------- 1 | export default function uniqueBy(arr, fn) { 2 | var identifiers = new Set(); 3 | return arr.filter(function (item) { 4 | var identifier = fn(item); 5 | 6 | if (!identifiers.has(identifier)) { 7 | identifiers.add(identifier); 8 | return true; 9 | } 10 | }); 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.d.ts: -------------------------------------------------------------------------------- 1 | import type { ClientRectObject, PositioningStrategy } from "../types"; 2 | import type { Boundary, RootBoundary } from "../enums"; 3 | export default function getClippingRect(element: Element, boundary: Boundary, rootBoundary: RootBoundary, strategy: PositioningStrategy): ClientRectObject; 4 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js: -------------------------------------------------------------------------------- 1 | var hash = { 2 | left: 'right', 3 | right: 'left', 4 | bottom: 'top', 5 | top: 'bottom' 6 | }; 7 | export default function getOppositePlacement(placement) { 8 | return placement.replace(/left|right|bottom|top/g, function (matched) { 9 | return hash[matched]; 10 | }); 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/getOppositePlacement.js: -------------------------------------------------------------------------------- 1 | var hash = { 2 | left: 'right', 3 | right: 'left', 4 | bottom: 'top', 5 | top: 'bottom' 6 | }; 7 | export default function getOppositePlacement(placement) { 8 | return placement.replace(/left|right|bottom|top/g, function (matched) { 9 | return hash[matched]; 10 | }); 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | export default function getWindowScroll(node) { 3 | var win = getWindow(node); 4 | var scrollLeft = win.pageXOffset; 5 | var scrollTop = win.pageYOffset; 6 | return { 7 | scrollLeft: scrollLeft, 8 | scrollTop: scrollTop 9 | }; 10 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/expandToHashMap.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function expandToHashMap< 4 | T: number | string | boolean, 5 | K: string 6 | >(value: T, keys: Array): { [key: string]: T } { 7 | return keys.reduce((hashMap, key) => { 8 | hashMap[key] = value; 9 | return hashMap; 10 | }, {}); 11 | } 12 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/format.js: -------------------------------------------------------------------------------- 1 | export default function format(str) { 2 | for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 3 | args[_key - 1] = arguments[_key]; 4 | } 5 | 6 | return [].concat(args).reduce(function (p, c) { 7 | return p.replace(/%s/, c); 8 | }, str); 9 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getWindowScroll.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | export default function getWindowScroll(node) { 3 | var win = getWindow(node); 4 | var scrollLeft = win.pageXOffset; 5 | var scrollTop = win.pageYOffset; 6 | return { 7 | scrollLeft: scrollLeft, 8 | scrollTop: scrollTop 9 | }; 10 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/format.js: -------------------------------------------------------------------------------- 1 | export default function format(str) { 2 | for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 3 | args[_key - 1] = arguments[_key]; 4 | } 5 | 6 | return [].concat(args).reduce(function (p, c) { 7 | return p.replace(/%s/, c); 8 | }, str); 9 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/eventListeners.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier } from "../types"; 2 | export declare type Options = { 3 | scroll: boolean; 4 | resize: boolean; 5 | }; 6 | export declare type EventListenersModifier = Modifier<"eventListeners", Options>; 7 | declare const _default: EventListenersModifier; 8 | export default _default; 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/userAgent.js: -------------------------------------------------------------------------------- 1 | export default function getUAString() { 2 | var uaData = navigator.userAgentData; 3 | 4 | if (uaData != null && uaData.brands) { 5 | return uaData.brands.map(function (item) { 6 | return item.brand + "/" + item.version; 7 | }).join(' '); 8 | } 9 | 10 | return navigator.userAgent; 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_stacks.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start stacks 2 | .hstack { 3 | display: flex; 4 | flex-direction: row; 5 | align-items: center; 6 | align-self: stretch; 7 | } 8 | 9 | .vstack { 10 | display: flex; 11 | flex: 1 1 auto; 12 | flex-direction: column; 13 | align-self: stretch; 14 | } 15 | // scss-docs-end stacks 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/userAgent.js: -------------------------------------------------------------------------------- 1 | export default function getUAString() { 2 | var uaData = navigator.userAgentData; 3 | 4 | if (uaData != null && uaData.brands) { 5 | return uaData.brands.map(function (item) { 6 | return item.brand + "/" + item.version; 7 | }).join(' '); 8 | } 9 | 10 | return navigator.userAgent; 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindow.js: -------------------------------------------------------------------------------- 1 | export default function getWindow(node) { 2 | if (node == null) { 3 | return window; 4 | } 5 | 6 | if (node.toString() !== '[object Window]') { 7 | var ownerDocument = node.ownerDocument; 8 | return ownerDocument ? ownerDocument.defaultView || window : window; 9 | } 10 | 11 | return node; 12 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_helpers.scss: -------------------------------------------------------------------------------- 1 | @import "helpers/clearfix"; 2 | @import "helpers/color-bg"; 3 | @import "helpers/colored-links"; 4 | @import "helpers/ratio"; 5 | @import "helpers/position"; 6 | @import "helpers/stacks"; 7 | @import "helpers/visually-hidden"; 8 | @import "helpers/stretched-link"; 9 | @import "helpers/text-truncation"; 10 | @import "helpers/vr"; 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getWindow.js: -------------------------------------------------------------------------------- 1 | export default function getWindow(node) { 2 | if (node == null) { 3 | return window; 4 | } 5 | 6 | if (node.toString() !== '[object Window]') { 7 | var ownerDocument = node.ownerDocument; 8 | return ownerDocument ? ownerDocument.defaultView || window : window; 9 | } 10 | 11 | return node; 12 | } -------------------------------------------------------------------------------- /fileUpload/newName.php: -------------------------------------------------------------------------------- 1 | "; 4 | $amarVar = str_shuffle($amarVar); 5 | echo "$amarVar
"; 6 | $amarVar = strrev($amarVar); 7 | echo "$amarVar
"; 8 | $amarVar = substr($amarVar, -6); 9 | uniqid("a").str_shuffle($amarVar.rand().date("FdYDlhisHaA")); 10 | ?> -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js: -------------------------------------------------------------------------------- 1 | import { isElement } from "./instanceOf.js"; 2 | export default function getDocumentElement(element) { 3 | // $FlowFixMe[incompatible-return]: assume body is always available 4 | return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] 5 | element.document) || window.document).documentElement; 6 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Placement } from '../enums'; 3 | 4 | const hash = { start: 'end', end: 'start' }; 5 | 6 | export default function getOppositeVariationPlacement( 7 | placement: Placement 8 | ): Placement { 9 | return (placement.replace(/start|end/g, matched => hash[matched]): any); 10 | } 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/rectToClientRect.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Rect, ClientRectObject } from '../types'; 3 | 4 | export default function rectToClientRect(rect: Rect): ClientRectObject { 5 | return { 6 | ...rect, 7 | left: rect.x, 8 | top: rect.y, 9 | right: rect.x + rect.width, 10 | bottom: rect.y + rect.height, 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /bootstrapPHP/index.php: -------------------------------------------------------------------------------- 1 | 12 | 13 | 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getDocumentElement.js: -------------------------------------------------------------------------------- 1 | import { isElement } from "./instanceOf.js"; 2 | export default function getDocumentElement(element) { 3 | // $FlowFixMe[incompatible-return]: assume body is always available 4 | return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing] 5 | element.document) || window.document).documentElement; 6 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { SideObject } from '../types'; 3 | import getFreshSideObject from './getFreshSideObject'; 4 | 5 | export default function mergePaddingObject( 6 | paddingObject: $Shape 7 | ): SideObject { 8 | return { 9 | ...getFreshSideObject(), 10 | ...paddingObject, 11 | }; 12 | } 13 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/platform/node/index.js: -------------------------------------------------------------------------------- 1 | import URLSearchParams from './classes/URLSearchParams.js' 2 | import FormData from './classes/FormData.js' 3 | 4 | export default { 5 | isNode: true, 6 | classes: { 7 | URLSearchParams, 8 | FormData, 9 | Blob: typeof Blob !== 'undefined' && Blob || null 10 | }, 11 | protocols: [ 'http', 'https', 'file', 'data' ] 12 | }; 13 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/uniqueBy.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function uniqueBy(arr: Array, fn: T => any): Array { 4 | const identifiers = new Set(); 5 | 6 | return arr.filter(item => { 7 | const identifier = fn(item); 8 | 9 | if (!identifiers.has(identifier)) { 10 | identifiers.add(identifier); 11 | return true; 12 | } 13 | }); 14 | } 15 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/README.md: -------------------------------------------------------------------------------- 1 | # axios // helpers 2 | 3 | The modules found in `helpers/` should be generic modules that are _not_ specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like: 4 | 5 | - Browser polyfills 6 | - Managing cookies 7 | - Parsing HTTP headers 8 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/proxy-from-env/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - node 4 | - lts/* 5 | script: 6 | - npm run lint 7 | # test-coverage will also run the tests, but does not print helpful output upon test failure. 8 | # So we also run the tests separately. 9 | - npm run test 10 | - npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/debounce.js: -------------------------------------------------------------------------------- 1 | export default function debounce(fn) { 2 | var pending; 3 | return function () { 4 | if (!pending) { 5 | pending = new Promise(function (resolve) { 6 | Promise.resolve().then(function () { 7 | pending = undefined; 8 | resolve(fn()); 9 | }); 10 | }); 11 | } 12 | 13 | return pending; 14 | }; 15 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/bootstrap-utilities.scss: -------------------------------------------------------------------------------- 1 | @import "mixins/banner"; 2 | @include bsBanner(Utilities); 3 | 4 | // Configuration 5 | @import "functions"; 6 | @import "variables"; 7 | @import "maps"; 8 | @import "mixins"; 9 | @import "utilities"; 10 | 11 | // Layout & components 12 | @import "root"; 13 | 14 | // Helpers 15 | @import "helpers"; 16 | 17 | // Utilities 18 | @import "utilities/api"; 19 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/debounce.js: -------------------------------------------------------------------------------- 1 | export default function debounce(fn) { 2 | var pending; 3 | return function () { 4 | if (!pending) { 5 | pending = new Promise(function (resolve) { 6 | Promise.resolve().then(function () { 7 | pending = undefined; 8 | resolve(fn()); 9 | }); 10 | }); 11 | } 12 | 13 | return pending; 14 | }; 15 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/follow-redirects/debug.js: -------------------------------------------------------------------------------- 1 | var debug; 2 | 3 | module.exports = function () { 4 | if (!debug) { 5 | try { 6 | /* eslint global-require: off */ 7 | debug = require("debug")("follow-redirects"); 8 | } 9 | catch (error) { /* */ } 10 | if (typeof debug !== "function") { 11 | debug = function () { /* */ }; 12 | } 13 | } 14 | debug.apply(null, arguments); 15 | }; 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Placement } from '../enums'; 3 | 4 | const hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; 5 | 6 | export default function getOppositePlacement(placement: Placement): Placement { 7 | return (placement.replace( 8 | /left|right|bottom|top/g, 9 | matched => hash[matched] 10 | ): any); 11 | } 12 | -------------------------------------------------------------------------------- /fileUpload/style.css: -------------------------------------------------------------------------------- 1 | 2 | #images > img::before { 3 | content: "x"; 4 | position: absolute; 5 | width: 100px; 6 | height: 100px; 7 | display: flex; 8 | justify-content: center; 9 | align-items: center; 10 | color: #fff; 11 | background: rgba(0,0,0,0.7); 12 | transition: 0.5s; 13 | top: -100%; 14 | left: 100%; 15 | } 16 | 17 | #images > img:hover::before { 18 | top: 0%; 19 | left: 0%; 20 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/within.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { max as mathMax, min as mathMin } from './math'; 3 | 4 | export function within(min: number, value: number, max: number): number { 5 | return mathMax(min, mathMin(value, max)); 6 | } 7 | 8 | export function withinMaxClamp(min: number, value: number, max: number) { 9 | const v = within(min, value, max); 10 | return v > max ? max : v; 11 | } 12 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/readBlob.js: -------------------------------------------------------------------------------- 1 | const {asyncIterator} = Symbol; 2 | 3 | const readBlob = async function* (blob) { 4 | if (blob.stream) { 5 | yield* blob.stream() 6 | } else if (blob.arrayBuffer) { 7 | yield await blob.arrayBuffer() 8 | } else if (blob[asyncIterator]) { 9 | yield* blob[asyncIterator](); 10 | } else { 11 | yield blob; 12 | } 13 | } 14 | 15 | export default readBlob; 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getWindow from './getWindow'; 3 | import type { Window } from '../types'; 4 | 5 | export default function getWindowScroll(node: Node | Window) { 6 | const win = getWindow(node); 7 | const scrollLeft = win.pageXOffset; 8 | const scrollTop = win.pageYOffset; 9 | 10 | return { 11 | scrollLeft, 12 | scrollTop, 13 | }; 14 | } 15 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getComputedStyle from './getComputedStyle'; 3 | 4 | export default function isScrollParent(element: HTMLElement): boolean { 5 | // Firefox wants us to check `-x` and `-y` variations as well 6 | const { overflow, overflowX, overflowY } = getComputedStyle(element); 7 | return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); 8 | } 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/computeOffsets.d.ts: -------------------------------------------------------------------------------- 1 | import type { Rect, PositioningStrategy, Offsets, ClientRectObject } from "../types"; 2 | import { Placement } from "../enums"; 3 | export default function computeOffsets({ reference, element, placement }: { 4 | reference: Rect | ClientRectObject; 5 | element: Rect | ClientRectObject; 6 | strategy: PositioningStrategy; 7 | placement?: Placement; 8 | }): Offsets; 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_backdrop.scss: -------------------------------------------------------------------------------- 1 | // Shared between modals and offcanvases 2 | @mixin overlay-backdrop($zindex, $backdrop-bg, $backdrop-opacity) { 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | z-index: $zindex; 7 | width: 100vw; 8 | height: 100vh; 9 | background-color: $backdrop-bg; 10 | 11 | // Fade for backdrop 12 | &.fade { opacity: 0; } 13 | &.show { opacity: $backdrop-opacity; } 14 | } 15 | -------------------------------------------------------------------------------- /l11-formValidation/header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Bootstrap demo 7 | 8 | 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/debounce.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | 3 | export default function debounce(fn: Function): () => Promise { 4 | let pending; 5 | return () => { 6 | if (!pending) { 7 | pending = new Promise(resolve => { 8 | Promise.resolve().then(() => { 9 | pending = undefined; 10 | resolve(fn()); 11 | }); 12 | }); 13 | } 14 | 15 | return pending; 16 | }; 17 | } 18 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/core/README.md: -------------------------------------------------------------------------------- 1 | # axios // core 2 | 3 | The modules found in `core/` should be modules that are specific to the domain logic of axios. These modules would most likely not make sense to be consumed outside of the axios module, as their logic is too specific. Some examples of core modules are: 4 | 5 | - Dispatching requests 6 | - Requests sent via `adapters/` (see lib/adapters/README.md) 7 | - Managing interceptors 8 | - Handling config 9 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_pagination.scss: -------------------------------------------------------------------------------- 1 | // Pagination 2 | 3 | // scss-docs-start pagination-mixin 4 | @mixin pagination-size($padding-y, $padding-x, $font-size, $border-radius) { 5 | --#{$prefix}pagination-padding-x: #{$padding-x}; 6 | --#{$prefix}pagination-padding-y: #{$padding-y}; 7 | @include rfs($font-size, --#{$prefix}pagination-font-size); 8 | --#{$prefix}pagination-border-radius: #{$border-radius}; 9 | } 10 | // scss-docs-end pagination-mixin 11 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/isAxiosError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from './../utils.js'; 4 | 5 | /** 6 | * Determines whether the payload is an error thrown by Axios 7 | * 8 | * @param {*} payload The value to test 9 | * 10 | * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false 11 | */ 12 | export default function isAxiosError(payload) { 13 | return utils.isObject(payload) && (payload.isAxiosError === true); 14 | } 15 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js: -------------------------------------------------------------------------------- 1 | import getWindowScroll from "./getWindowScroll.js"; 2 | import getWindow from "./getWindow.js"; 3 | import { isHTMLElement } from "./instanceOf.js"; 4 | import getHTMLElementScroll from "./getHTMLElementScroll.js"; 5 | export default function getNodeScroll(node) { 6 | if (node === getWindow(node) || !isHTMLElement(node)) { 7 | return getWindowScroll(node); 8 | } else { 9 | return getHTMLElementScroll(node); 10 | } 11 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/combineURLs.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Creates a new URL by combining the specified URLs 5 | * 6 | * @param {string} baseURL The base URL 7 | * @param {string} relativeURL The relative URL 8 | * 9 | * @returns {string} The combined URL 10 | */ 11 | export default function combineURLs(baseURL, relativeURL) { 12 | return relativeURL 13 | ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') 14 | : baseURL; 15 | } 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getNodeScroll.js: -------------------------------------------------------------------------------- 1 | import getWindowScroll from "./getWindowScroll.js"; 2 | import getWindow from "./getWindow.js"; 3 | import { isHTMLElement } from "./instanceOf.js"; 4 | import getHTMLElementScroll from "./getHTMLElementScroll.js"; 5 | export default function getNodeScroll(node) { 6 | if (node === getWindow(node) || !isHTMLElement(node)) { 7 | return getWindowScroll(node); 8 | } else { 9 | return getHTMLElementScroll(node); 10 | } 11 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/index.js: -------------------------------------------------------------------------------- 1 | export * from "./enums.js"; 2 | export * from "./modifiers/index.js"; // eslint-disable-next-line import/no-unused-modules 3 | 4 | export { popperGenerator, detectOverflow, createPopper as createPopperBase } from "./createPopper.js"; // eslint-disable-next-line import/no-unused-modules 5 | 6 | export { createPopper } from "./popper.js"; // eslint-disable-next-line import/no-unused-modules 7 | 8 | export { createPopper as createPopperLite } from "./popper-lite.js"; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/index.js: -------------------------------------------------------------------------------- 1 | export * from "./enums.js"; 2 | export * from "./modifiers/index.js"; // eslint-disable-next-line import/no-unused-modules 3 | 4 | export { popperGenerator, detectOverflow, createPopper as createPopperBase } from "./createPopper.js"; // eslint-disable-next-line import/no-unused-modules 5 | 6 | export { createPopper } from "./popper.js"; // eslint-disable-next-line import/no-unused-modules 7 | 8 | export { createPopper as createPopperLite } from "./popper-lite.js"; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_alert.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start alert-variant-mixin 2 | @mixin alert-variant($background, $border, $color) { 3 | --#{$prefix}alert-color: #{$color}; 4 | --#{$prefix}alert-bg: #{$background}; 5 | --#{$prefix}alert-border-color: #{$border}; 6 | 7 | @if $enable-gradients { 8 | background-image: var(--#{$prefix}gradient); 9 | } 10 | 11 | .alert-link { 12 | color: shade-color($color, 20%); 13 | } 14 | } 15 | // scss-docs-end alert-variant-mixin 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_container.scss: -------------------------------------------------------------------------------- 1 | // Container mixins 2 | 3 | @mixin make-container($gutter: $container-padding-x) { 4 | --#{$prefix}gutter-x: #{$gutter}; 5 | --#{$prefix}gutter-y: 0; 6 | width: 100%; 7 | padding-right: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list 8 | padding-left: calc(var(--#{$prefix}gutter-x) * .5); // stylelint-disable-line function-disallowed-list 9 | margin-right: auto; 10 | margin-left: auto; 11 | } 12 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindow.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Window } from '../types'; 3 | declare function getWindow(node: Node | Window): Window; 4 | 5 | export default function getWindow(node) { 6 | if (node == null) { 7 | return window; 8 | } 9 | 10 | if (node.toString() !== '[object Window]') { 11 | const ownerDocument = node.ownerDocument; 12 | return ownerDocument ? ownerDocument.defaultView || window : window; 13 | } 14 | 15 | return node; 16 | } 17 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_image.scss: -------------------------------------------------------------------------------- 1 | // Image Mixins 2 | // - Responsive image 3 | // - Retina image 4 | 5 | 6 | // Responsive image 7 | // 8 | // Keep images from scaling beyond the width of their parents. 9 | 10 | @mixin img-fluid { 11 | // Part 1: Set a maximum relative to the parent 12 | max-width: 100%; 13 | // Part 2: Override the height to auto, otherwise images will be stretched 14 | // when setting a width and height attribute on the img element. 15 | height: auto; 16 | } 17 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_box-shadow.scss: -------------------------------------------------------------------------------- 1 | @mixin box-shadow($shadow...) { 2 | @if $enable-shadows { 3 | $result: (); 4 | 5 | @each $value in $shadow { 6 | @if $value != null { 7 | $result: append($result, $value, "comma"); 8 | } 9 | @if $value == none and length($shadow) > 1 { 10 | @warn "The keyword 'none' must be used as a single argument."; 11 | } 12 | } 13 | 14 | @if (length($result) > 0) { 15 | box-shadow: $result; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js: -------------------------------------------------------------------------------- 1 | import getComputedStyle from "./getComputedStyle.js"; 2 | export default function isScrollParent(element) { 3 | // Firefox wants us to check `-x` and `-y` variations as well 4 | var _getComputedStyle = getComputedStyle(element), 5 | overflow = _getComputedStyle.overflow, 6 | overflowX = _getComputedStyle.overflowX, 7 | overflowY = _getComputedStyle.overflowY; 8 | 9 | return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); 10 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/isScrollParent.js: -------------------------------------------------------------------------------- 1 | import getComputedStyle from "./getComputedStyle.js"; 2 | export default function isScrollParent(element) { 3 | // Firefox wants us to check `-x` and `-y` variations as well 4 | var _getComputedStyle = getComputedStyle(element), 5 | overflow = _getComputedStyle.overflow, 6 | overflowX = _getComputedStyle.overflowX, 7 | overflowY = _getComputedStyle.overflowY; 8 | 9 | return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX); 10 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/arrow.d.ts: -------------------------------------------------------------------------------- 1 | import type { Modifier, Padding, Rect } from "../types"; 2 | import type { Placement } from "../enums"; 3 | export declare type Options = { 4 | element: HTMLElement | string | null; 5 | padding: Padding | ((arg0: { 6 | popper: Rect; 7 | reference: Rect; 8 | placement: Placement; 9 | }) => Padding); 10 | }; 11 | export declare type ArrowModifier = Modifier<"arrow", Options>; 12 | declare const _default: ArrowModifier; 13 | export default _default; 14 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_color-bg.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable function-name-case 2 | 3 | // All-caps `RGBA()` function used because of this Sass bug: https://github.com/sass/node-sass/issues/2251 4 | @each $color, $value in $theme-colors { 5 | $color-rgb: to-rgb($value); 6 | .text-bg-#{$color} { 7 | color: color-contrast($value) if($enable-important-utilities, !important, null); 8 | background-color: RGBA($color-rgb, var(--#{$prefix}bg-opacity, 1)) if($enable-important-utilities, !important, null); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { isElement } from './instanceOf'; 3 | import type { Window } from '../types'; 4 | 5 | export default function getDocumentElement( 6 | element: Element | Window 7 | ): HTMLElement { 8 | // $FlowFixMe[incompatible-return]: assume body is always available 9 | return ( 10 | (isElement(element) 11 | ? element.ownerDocument 12 | : // $FlowFixMe[prop-missing] 13 | element.document) || window.document 14 | ).documentElement; 15 | } 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_colored-links.scss: -------------------------------------------------------------------------------- 1 | @each $color, $value in $theme-colors { 2 | .link-#{$color} { 3 | color: $value !important; // stylelint-disable-line declaration-no-important 4 | 5 | @if $link-shade-percentage != 0 { 6 | &:hover, 7 | &:focus { 8 | color: if(color-contrast($value) == $color-contrast-light, shade-color($value, $link-shade-percentage), tint-color($value, $link-shade-percentage)) !important; // stylelint-disable-line declaration-no-important 9 | } 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/index.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | export type * from './types'; 3 | export * from './enums'; 4 | export * from './modifiers'; 5 | 6 | // eslint-disable-next-line import/no-unused-modules 7 | export { popperGenerator, detectOverflow, createPopper as createPopperBase } from './createPopper'; 8 | 9 | // eslint-disable-next-line import/no-unused-modules 10 | export { createPopper } from './popper'; 11 | 12 | // eslint-disable-next-line import/no-unused-modules 13 | export { createPopper as createPopperLite } from './popper-lite'; 14 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default as applyStyles } from "./applyStyles"; 2 | export { default as arrow } from "./arrow"; 3 | export { default as computeStyles } from "./computeStyles"; 4 | export { default as eventListeners } from "./eventListeners"; 5 | export { default as flip } from "./flip"; 6 | export { default as hide } from "./hide"; 7 | export { default as offset } from "./offset"; 8 | export { default as popperOffsets } from "./popperOffsets"; 9 | export { default as preventOverflow } from "./preventOverflow"; 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_ratio.scss: -------------------------------------------------------------------------------- 1 | // Credit: Nicolas Gallagher and SUIT CSS. 2 | 3 | .ratio { 4 | position: relative; 5 | width: 100%; 6 | 7 | &::before { 8 | display: block; 9 | padding-top: var(--#{$prefix}aspect-ratio); 10 | content: ""; 11 | } 12 | 13 | > * { 14 | position: absolute; 15 | top: 0; 16 | left: 0; 17 | width: 100%; 18 | height: 100%; 19 | } 20 | } 21 | 22 | @each $key, $ratio in $aspect-ratios { 23 | .ratio-#{$key} { 24 | --#{$prefix}aspect-ratio: #{$ratio}; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getWindowScroll from './getWindowScroll'; 3 | import getWindow from './getWindow'; 4 | import { isHTMLElement } from './instanceOf'; 5 | import getHTMLElementScroll from './getHTMLElementScroll'; 6 | import type { Window } from '../types'; 7 | 8 | export default function getNodeScroll(node: Node | Window) { 9 | if (node === getWindow(node) || !isHTMLElement(node)) { 10 | return getWindowScroll(node); 11 | } else { 12 | return getHTMLElementScroll(node); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/index.js: -------------------------------------------------------------------------------- 1 | export { default as applyStyles } from "./applyStyles.js"; 2 | export { default as arrow } from "./arrow.js"; 3 | export { default as computeStyles } from "./computeStyles.js"; 4 | export { default as eventListeners } from "./eventListeners.js"; 5 | export { default as flip } from "./flip.js"; 6 | export { default as hide } from "./hide.js"; 7 | export { default as offset } from "./offset.js"; 8 | export { default as popperOffsets } from "./popperOffsets.js"; 9 | export { default as preventOverflow } from "./preventOverflow.js"; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/modifiers/index.js: -------------------------------------------------------------------------------- 1 | export { default as applyStyles } from "./applyStyles.js"; 2 | export { default as arrow } from "./arrow.js"; 3 | export { default as computeStyles } from "./computeStyles.js"; 4 | export { default as eventListeners } from "./eventListeners.js"; 5 | export { default as flip } from "./flip.js"; 6 | export { default as hide } from "./hide.js"; 7 | export { default as offset } from "./offset.js"; 8 | export { default as popperOffsets } from "./popperOffsets.js"; 9 | export { default as preventOverflow } from "./preventOverflow.js"; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/index.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | export { default as applyStyles } from './applyStyles'; 3 | export { default as arrow } from './arrow'; 4 | export { default as computeStyles } from './computeStyles'; 5 | export { default as eventListeners } from './eventListeners'; 6 | export { default as flip } from './flip'; 7 | export { default as hide } from './hide'; 8 | export { default as offset } from './offset'; 9 | export { default as popperOffsets } from './popperOffsets'; 10 | export { default as preventOverflow } from './preventOverflow'; 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.d.ts: -------------------------------------------------------------------------------- 1 | import type { State, Padding } from "../types"; 2 | import type { Placement, ComputedPlacement, Boundary, RootBoundary } from "../enums"; 3 | declare type Options = { 4 | placement: Placement; 5 | padding: Padding; 6 | boundary: Boundary; 7 | rootBoundary: RootBoundary; 8 | flipVariations: boolean; 9 | allowedAutoPlacements?: Array; 10 | }; 11 | export default function computeAutoPlacement(state: Partial, options?: Options): Array; 12 | export {}; 13 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/forms/_validation.scss: -------------------------------------------------------------------------------- 1 | // Form validation 2 | // 3 | // Provide feedback to users when form field values are valid or invalid. Works 4 | // primarily for client-side validation via scoped `:invalid` and `:valid` 5 | // pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for 6 | // server-side validation. 7 | 8 | // scss-docs-start form-validation-states-loop 9 | @each $state, $data in $form-validation-states { 10 | @include form-validation-state($state, $data...); 11 | } 12 | // scss-docs-end form-validation-states-loop 13 | -------------------------------------------------------------------------------- /l11-formValidation/formValidation.js: -------------------------------------------------------------------------------- 1 | const fname = document.getElementById("fname"); 2 | const errName = document.querySelectorAll(".invalid-feedback")[0]; 3 | fname.addEventListener("keyup", ()=> { 4 | const fnameValue = fname.value; 5 | axios.get(`http://localhost/b78m/l11-formValidation/formValidation.php?fname=${fnameValue}`).then(res => { 6 | if(res.data.errName){ 7 | fname.classList.add("is-invalid"); 8 | errName.textContent = res.data.errName; 9 | }else{ 10 | fname.classList.remove("is-invalid"); 11 | } 12 | }) 13 | }) -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/detectOverflow.d.ts: -------------------------------------------------------------------------------- 1 | import type { State, SideObject, Padding, PositioningStrategy } from "../types"; 2 | import type { Placement, Boundary, RootBoundary, Context } from "../enums"; 3 | export declare type Options = { 4 | placement: Placement; 5 | strategy: PositioningStrategy; 6 | boundary: Boundary; 7 | rootBoundary: RootBoundary; 8 | elementContext: Context; 9 | altBoundary: boolean; 10 | padding: Padding; 11 | }; 12 | export default function detectOverflow(state: State, options?: Partial): SideObject; 13 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_transitions.scss: -------------------------------------------------------------------------------- 1 | .fade { 2 | @include transition($transition-fade); 3 | 4 | &:not(.show) { 5 | opacity: 0; 6 | } 7 | } 8 | 9 | // scss-docs-start collapse-classes 10 | .collapse { 11 | &:not(.show) { 12 | display: none; 13 | } 14 | } 15 | 16 | .collapsing { 17 | height: 0; 18 | overflow: hidden; 19 | @include transition($transition-collapse); 20 | 21 | &.collapse-horizontal { 22 | width: 0; 23 | height: auto; 24 | @include transition($transition-collapse-width); 25 | } 26 | } 27 | // scss-docs-end collapse-classes 28 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/defer.js: -------------------------------------------------------------------------------- 1 | module.exports = defer; 2 | 3 | /** 4 | * Runs provided function on next iteration of the event loop 5 | * 6 | * @param {function} fn - function to run 7 | */ 8 | function defer(fn) 9 | { 10 | var nextTick = typeof setImmediate == 'function' 11 | ? setImmediate 12 | : ( 13 | typeof process == 'object' && typeof process.nextTick == 'function' 14 | ? process.nextTick 15 | : null 16 | ); 17 | 18 | if (nextTick) 19 | { 20 | nextTick(fn); 21 | } 22 | else 23 | { 24 | setTimeout(fn, 0); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/userAgent.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | type Navigator = Navigator & { userAgentData?: NavigatorUAData }; 3 | 4 | interface NavigatorUAData { 5 | brands: Array<{ brand: string, version: string }>; 6 | mobile: boolean; 7 | platform: string; 8 | } 9 | 10 | export default function getUAString(): string { 11 | const uaData = (navigator: Navigator).userAgentData; 12 | 13 | if (uaData?.brands) { 14 | return uaData.brands 15 | .map((item) => `${item.brand}/${item.version}`) 16 | .join(' '); 17 | } 18 | 19 | return navigator.userAgent; 20 | } 21 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/serial.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('./serialOrdered.js'); 2 | 3 | // Public API 4 | module.exports = serial; 5 | 6 | /** 7 | * Runs iterator over provided array elements in series 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {function} - jobs terminator 13 | */ 14 | function serial(list, iterator, callback) 15 | { 16 | return serialOrdered(list, iterator, null, callback); 17 | } 18 | -------------------------------------------------------------------------------- /l6-loop.php: -------------------------------------------------------------------------------- 1 | "; 13 | ++$sp; 14 | } 15 | 16 | $ghor = 599; 17 | $gunitok = 1; 18 | $end = 10; 19 | 20 | while ($gunitok <= $end) { 21 | $gunfol = $ghor * $gunitok; 22 | echo "$ghor x $gunitok = $gunfol
"; 23 | $gunitok++; 24 | } 25 | 26 | //for loop 27 | for ($i=0; $i < 10; $i++) { 28 | echo "$i
"; 29 | } 30 | 31 | ?> -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_reset-text.scss: -------------------------------------------------------------------------------- 1 | @mixin reset-text { 2 | font-family: $font-family-base; 3 | // We deliberately do NOT reset font-size or overflow-wrap / word-wrap. 4 | font-style: normal; 5 | font-weight: $font-weight-normal; 6 | line-height: $line-height-base; 7 | text-align: left; // Fallback for where `start` is not supported 8 | text-align: start; 9 | text-decoration: none; 10 | text-shadow: none; 11 | text-transform: none; 12 | letter-spacing: normal; 13 | word-break: normal; 14 | white-space: normal; 15 | word-spacing: normal; 16 | line-break: auto; 17 | } 18 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/mergeByName.js: -------------------------------------------------------------------------------- 1 | export default function mergeByName(modifiers) { 2 | var merged = modifiers.reduce(function (merged, current) { 3 | var existing = merged[current.name]; 4 | merged[current.name] = existing ? Object.assign({}, existing, current, { 5 | options: Object.assign({}, existing.options, current.options), 6 | data: Object.assign({}, existing.data, current.data) 7 | }) : current; 8 | return merged; 9 | }, {}); // IE11 does not support Object.values 10 | 11 | return Object.keys(merged).map(function (key) { 12 | return merged[key]; 13 | }); 14 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/utils/mergeByName.js: -------------------------------------------------------------------------------- 1 | export default function mergeByName(modifiers) { 2 | var merged = modifiers.reduce(function (merged, current) { 3 | var existing = merged[current.name]; 4 | merged[current.name] = existing ? Object.assign({}, existing, current, { 5 | options: Object.assign({}, existing.options, current.options), 6 | data: Object.assign({}, existing.data, current.data) 7 | }) : current; 8 | return merged; 9 | }, {}); // IE11 does not support Object.values 10 | 11 | return Object.keys(merged).map(function (key) { 12 | return merged[key]; 13 | }); 14 | } -------------------------------------------------------------------------------- /l15-oop-property.php: -------------------------------------------------------------------------------- 1 | siam = $this->mushfiqSir . " " . $this->nazat; 11 | } 12 | } 13 | 14 | class yousufVaiErChele extends yousufVai 15 | { 16 | public function fan() 17 | { 18 | $this->rakib(); 19 | return $this->siam; 20 | } 21 | } 22 | 23 | $obj = new yousufVai; 24 | // echo $obj->mushfiqSir; 25 | // echo $obj->nazat; 26 | 27 | 28 | echo "
"; 29 | 30 | $obj2 = new yousufVaiErChele; 31 | echo $obj2->fan(); 32 | -------------------------------------------------------------------------------- /l4-function.php: -------------------------------------------------------------------------------- 1 | "; 5 | } 6 | 7 | echo dipti ("Asif", "Abir"); 8 | echo dipti ("Md.", "Yusuf"); 9 | echo dipti (); 10 | echo dipti ("Siam"); 11 | echo dipti (lname:"Said Mirja", fname:"Amader"); 12 | 13 | function kachaBadam ($n1, $n2){ 14 | if(is_int($n1) && is_int($n2)){ 15 | return $n1 + $n2; 16 | } 17 | return "Please write a number!"; 18 | } 19 | 20 | echo kachaBadam(5, 6)."
"; 21 | 22 | $myFunc = fn($b) => $b; 23 | echo $myFunc("Babago"); 24 | ?> -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/flip.d.ts: -------------------------------------------------------------------------------- 1 | import type { Placement, Boundary, RootBoundary } from "../enums"; 2 | import type { Modifier, Padding } from "../types"; 3 | export declare type Options = { 4 | mainAxis: boolean; 5 | altAxis: boolean; 6 | fallbackPlacements: Array; 7 | padding: Padding; 8 | boundary: Boundary; 9 | rootBoundary: RootBoundary; 10 | altBoundary: boolean; 11 | flipVariations: boolean; 12 | allowedAutoPlacements: Array; 13 | }; 14 | export declare type FlipModifier = Modifier<"flip", Options>; 15 | declare const _default: FlipModifier; 16 | export default _default; 17 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_list-group.scss: -------------------------------------------------------------------------------- 1 | // List Groups 2 | 3 | // scss-docs-start list-group-mixin 4 | @mixin list-group-item-variant($state, $background, $color) { 5 | .list-group-item-#{$state} { 6 | color: $color; 7 | background-color: $background; 8 | 9 | &.list-group-item-action { 10 | &:hover, 11 | &:focus { 12 | color: $color; 13 | background-color: shade-color($background, 10%); 14 | } 15 | 16 | &.active { 17 | color: $white; 18 | background-color: $color; 19 | border-color: $color; 20 | } 21 | } 22 | } 23 | } 24 | // scss-docs-end list-group-mixin 25 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/abort.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = abort; 3 | 4 | /** 5 | * Aborts leftover active jobs 6 | * 7 | * @param {object} state - current state object 8 | */ 9 | function abort(state) 10 | { 11 | Object.keys(state.jobs).forEach(clean.bind(state)); 12 | 13 | // reset leftover jobs 14 | state.jobs = {}; 15 | } 16 | 17 | /** 18 | * Cleans up leftover job by invoking abort function for the provided job id 19 | * 20 | * @this state 21 | * @param {string|number} key - job id to abort 22 | */ 23 | function clean(key) 24 | { 25 | if (typeof this.jobs[key] == 'function') 26 | { 27 | this.jobs[key](); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/combined-stream/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | delayed-stream@~1.0.0: 6 | version "1.0.0" 7 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 8 | 9 | far@~0.0.7: 10 | version "0.0.7" 11 | resolved "https://registry.yarnpkg.com/far/-/far-0.0.7.tgz#01c1fd362bcd26ce9cf161af3938aa34619f79a7" 12 | dependencies: 13 | oop "0.0.3" 14 | 15 | oop@0.0.3: 16 | version "0.0.3" 17 | resolved "https://registry.yarnpkg.com/oop/-/oop-0.0.3.tgz#70fa405a5650891a194fdc82ca68dad6dabf4401" 18 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js: -------------------------------------------------------------------------------- 1 | import getParentNode from "./getParentNode.js"; 2 | import isScrollParent from "./isScrollParent.js"; 3 | import getNodeName from "./getNodeName.js"; 4 | import { isHTMLElement } from "./instanceOf.js"; 5 | export default function getScrollParent(node) { 6 | if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { 7 | // $FlowFixMe[incompatible-return]: assume body is always available 8 | return node.ownerDocument.body; 9 | } 10 | 11 | if (isHTMLElement(node) && isScrollParent(node)) { 12 | return node; 13 | } 14 | 15 | return getScrollParent(getParentNode(node)); 16 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/isAbsoluteURL.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Determines whether the specified URL is absolute 5 | * 6 | * @param {string} url The URL to test 7 | * 8 | * @returns {boolean} True if the specified URL is absolute, otherwise false 9 | */ 10 | export default function isAbsoluteURL(url) { 11 | // A URL is considered absolute if it begins with "://" or "//" (protocol-relative URL). 12 | // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed 13 | // by any combination of letters, digits, plus, period, or hyphen. 14 | return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url); 15 | } 16 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getScrollParent.js: -------------------------------------------------------------------------------- 1 | import getParentNode from "./getParentNode.js"; 2 | import isScrollParent from "./isScrollParent.js"; 3 | import getNodeName from "./getNodeName.js"; 4 | import { isHTMLElement } from "./instanceOf.js"; 5 | export default function getScrollParent(node) { 6 | if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { 7 | // $FlowFixMe[incompatible-return]: assume body is always available 8 | return node.ownerDocument.body; 9 | } 10 | 11 | if (isHTMLElement(node) && isScrollParent(node)) { 12 | return node; 13 | } 14 | 15 | return getScrollParent(getParentNode(node)); 16 | } -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/toURLEncodedForm.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from '../utils.js'; 4 | import toFormData from './toFormData.js'; 5 | import platform from '../platform/index.js'; 6 | 7 | export default function toURLEncodedForm(data, options) { 8 | return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({ 9 | visitor: function(value, key, path, helpers) { 10 | if (platform.isNode && utils.isBuffer(value)) { 11 | this.append(key, value.toString('base64')); 12 | return false; 13 | } 14 | 15 | return helpers.defaultVisitor.apply(this, arguments); 16 | } 17 | }, options)); 18 | } 19 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper-lite.js: -------------------------------------------------------------------------------- 1 | import { popperGenerator, detectOverflow } from "./createPopper.js"; 2 | import eventListeners from "./modifiers/eventListeners.js"; 3 | import popperOffsets from "./modifiers/popperOffsets.js"; 4 | import computeStyles from "./modifiers/computeStyles.js"; 5 | import applyStyles from "./modifiers/applyStyles.js"; 6 | var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles]; 7 | var createPopper = /*#__PURE__*/popperGenerator({ 8 | defaultModifiers: defaultModifiers 9 | }); // eslint-disable-next-line import/no-unused-modules 10 | 11 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/popper-lite.js: -------------------------------------------------------------------------------- 1 | import { popperGenerator, detectOverflow } from "./createPopper.js"; 2 | import eventListeners from "./modifiers/eventListeners.js"; 3 | import popperOffsets from "./modifiers/popperOffsets.js"; 4 | import computeStyles from "./modifiers/computeStyles.js"; 5 | import applyStyles from "./modifiers/applyStyles.js"; 6 | var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles]; 7 | var createPopper = /*#__PURE__*/popperGenerator({ 8 | defaultModifiers: defaultModifiers 9 | }); // eslint-disable-next-line import/no-unused-modules 10 | 11 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_deprecate.scss: -------------------------------------------------------------------------------- 1 | // Deprecate mixin 2 | // 3 | // This mixin can be used to deprecate mixins or functions. 4 | // `$enable-deprecation-messages` is a global variable, `$ignore-warning` is a variable that can be passed to 5 | // some deprecated mixins to suppress the warning (for example if the mixin is still be used in the current version of Bootstrap) 6 | @mixin deprecate($name, $deprecate-version, $remove-version, $ignore-warning: false) { 7 | @if ($enable-deprecation-messages != false and $ignore-warning != true) { 8 | @warn "#{$name} has been deprecated as of #{$deprecate-version}. It will be removed entirely in #{$remove-version}."; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getParentNode from './getParentNode'; 3 | import isScrollParent from './isScrollParent'; 4 | import getNodeName from './getNodeName'; 5 | import { isHTMLElement } from './instanceOf'; 6 | 7 | export default function getScrollParent(node: Node): HTMLElement { 8 | if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) { 9 | // $FlowFixMe[incompatible-return]: assume body is always available 10 | return node.ownerDocument.body; 11 | } 12 | 13 | if (isHTMLElement(node) && isScrollParent(node)) { 14 | return node; 15 | } 16 | 17 | return getScrollParent(getParentNode(node)); 18 | } 19 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/terminator.js: -------------------------------------------------------------------------------- 1 | var abort = require('./abort.js') 2 | , async = require('./async.js') 3 | ; 4 | 5 | // API 6 | module.exports = terminator; 7 | 8 | /** 9 | * Terminates jobs in the attached state context 10 | * 11 | * @this AsyncKitState# 12 | * @param {function} callback - final callback to invoke after termination 13 | */ 14 | function terminator(callback) 15 | { 16 | if (!Object.keys(this.jobs).length) 17 | { 18 | return; 19 | } 20 | 21 | // fast forward iteration index 22 | this.index = this.size; 23 | 24 | // abort jobs 25 | abort(this); 26 | 27 | // send back results we have so far 28 | async(callback)(null, this.results); 29 | } 30 | -------------------------------------------------------------------------------- /l5-builiinFunction.php: -------------------------------------------------------------------------------- 1 | "; 5 | echo str_word_count($str)."
"; 6 | echo strrev($str)."
"; 7 | $x = str_replace("will", "will not", $str); 8 | echo str_replace(" on same days", "", $x)."
"; 9 | echo str_shuffle($str)."
"; 10 | echo substr($str, 0, 4); 11 | echo "
"; 12 | 13 | // math related 14 | echo min(100, 3, 99, 81, 2, 6)."
"; 15 | echo max(100, 3, 99, 81, 2, 6)."
"; 16 | echo abs(-6)."
"; 17 | 18 | $y = 2.4; 19 | echo round($y)."
"; 20 | echo ceil($y)."
"; 21 | echo floor($y)."
"; 22 | ?> -------------------------------------------------------------------------------- /l16-oop-cd.php: -------------------------------------------------------------------------------- 1 | Bye bye"; 7 | } 8 | 9 | public function abul($name) 10 | { 11 | echo $name; 12 | } 13 | 14 | public function kabul() 15 | { 16 | echo "Rakib abar kobul bolte chay! nijer dhol nije petano! taulla/naira mathay tel deoya
"; 17 | } 18 | 19 | 20 | public function __construct() 21 | { 22 | echo "Hello world
"; 23 | } 24 | } 25 | 26 | class jobles extends mokles 27 | { 28 | public $abdullah = "Hopeless"; 29 | } 30 | 31 | /* 32 | $obj = new mokles; 33 | $obj->kabul(); 34 | $obj->abul("Babul"); 35 | */ 36 | 37 | $obj = new jobles; 38 | echo $obj->abdullah; 39 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/spread.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Syntactic sugar for invoking a function and expanding an array for arguments. 5 | * 6 | * Common use case would be to use `Function.prototype.apply`. 7 | * 8 | * ```js 9 | * function f(x, y, z) {} 10 | * var args = [1, 2, 3]; 11 | * f.apply(null, args); 12 | * ``` 13 | * 14 | * With `spread` this example can be re-written. 15 | * 16 | * ```js 17 | * spread(function(x, y, z) {})([1, 2, 3]); 18 | * ``` 19 | * 20 | * @param {Function} callback 21 | * 22 | * @returns {Function} 23 | */ 24 | export default function spread(callback) { 25 | return function wrap(arr) { 26 | return callback.apply(null, arr); 27 | }; 28 | } 29 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper-lite.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { popperGenerator, detectOverflow } from './createPopper'; 3 | 4 | import eventListeners from './modifiers/eventListeners'; 5 | import popperOffsets from './modifiers/popperOffsets'; 6 | import computeStyles from './modifiers/computeStyles'; 7 | import applyStyles from './modifiers/applyStyles'; 8 | 9 | export type * from './types'; 10 | 11 | const defaultModifiers = [ 12 | eventListeners, 13 | popperOffsets, 14 | computeStyles, 15 | applyStyles, 16 | ]; 17 | 18 | const createPopper = popperGenerator({ defaultModifiers }); 19 | 20 | // eslint-disable-next-line import/no-unused-modules 21 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; 22 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper-lite.d.ts: -------------------------------------------------------------------------------- 1 | import { popperGenerator, detectOverflow } from "./createPopper"; 2 | export * from "./types"; 3 | declare const defaultModifiers: (import("./modifiers/popperOffsets").PopperOffsetsModifier | import("./modifiers/eventListeners").EventListenersModifier | import("./modifiers/computeStyles").ComputeStylesModifier | import("./modifiers/applyStyles").ApplyStylesModifier)[]; 4 | declare const createPopper: >>(reference: Element | import("./types").VirtualElement, popper: HTMLElement, options?: Partial>) => import("./types").Instance; 5 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; 6 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_grid.scss: -------------------------------------------------------------------------------- 1 | // Row 2 | // 3 | // Rows contain your columns. 4 | 5 | @if $enable-grid-classes { 6 | .row { 7 | @include make-row(); 8 | 9 | > * { 10 | @include make-col-ready(); 11 | } 12 | } 13 | } 14 | 15 | @if $enable-cssgrid { 16 | .grid { 17 | display: grid; 18 | grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr); 19 | grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr); 20 | gap: var(--#{$prefix}gap, #{$grid-gutter-width}); 21 | 22 | @include make-cssgrid(); 23 | } 24 | } 25 | 26 | 27 | // Columns 28 | // 29 | // Common styles for small and large grid columns 30 | 31 | @if $enable-grid-classes { 32 | @include make-grid-columns(); 33 | } 34 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | 3 | function isElement(node) { 4 | var OwnElement = getWindow(node).Element; 5 | return node instanceof OwnElement || node instanceof Element; 6 | } 7 | 8 | function isHTMLElement(node) { 9 | var OwnElement = getWindow(node).HTMLElement; 10 | return node instanceof OwnElement || node instanceof HTMLElement; 11 | } 12 | 13 | function isShadowRoot(node) { 14 | // IE 11 has no ShadowRoot 15 | if (typeof ShadowRoot === 'undefined') { 16 | return false; 17 | } 18 | 19 | var OwnElement = getWindow(node).ShadowRoot; 20 | return node instanceof OwnElement || node instanceof ShadowRoot; 21 | } 22 | 23 | export { isElement, isHTMLElement, isShadowRoot }; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/instanceOf.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | 3 | function isElement(node) { 4 | var OwnElement = getWindow(node).Element; 5 | return node instanceof OwnElement || node instanceof Element; 6 | } 7 | 8 | function isHTMLElement(node) { 9 | var OwnElement = getWindow(node).HTMLElement; 10 | return node instanceof OwnElement || node instanceof HTMLElement; 11 | } 12 | 13 | function isShadowRoot(node) { 14 | // IE 11 has no ShadowRoot 15 | if (typeof ShadowRoot === 'undefined') { 16 | return false; 17 | } 18 | 19 | var OwnElement = getWindow(node).ShadowRoot; 20 | return node instanceof OwnElement || node instanceof ShadowRoot; 21 | } 22 | 23 | export { isElement, isHTMLElement, isShadowRoot }; -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/async.js: -------------------------------------------------------------------------------- 1 | var defer = require('./defer.js'); 2 | 3 | // API 4 | module.exports = async; 5 | 6 | /** 7 | * Runs provided callback asynchronously 8 | * even if callback itself is not 9 | * 10 | * @param {function} callback - callback to invoke 11 | * @returns {function} - augmented callback 12 | */ 13 | function async(callback) 14 | { 15 | var isAsync = false; 16 | 17 | // check if async happened 18 | defer(function() { isAsync = true; }); 19 | 20 | return function async_callback(err, result) 21 | { 22 | if (isAsync) 23 | { 24 | callback(err, result); 25 | } 26 | else 27 | { 28 | defer(function nextTick_callback() 29 | { 30 | callback(err, result); 31 | }); 32 | } 33 | }; 34 | } 35 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/utils/mergeByName.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Modifier } from '../types'; 3 | 4 | export default function mergeByName( 5 | modifiers: Array<$Shape>> 6 | ): Array<$Shape>> { 7 | const merged = modifiers.reduce((merged, current) => { 8 | const existing = merged[current.name]; 9 | merged[current.name] = existing 10 | ? { 11 | ...existing, 12 | ...current, 13 | options: { ...existing.options, ...current.options }, 14 | data: { ...existing.data, ...current.data }, 15 | } 16 | : current; 17 | return merged; 18 | }, {}); 19 | 20 | // IE11 does not support Object.values 21 | return Object.keys(merged).map(key => merged[key]); 22 | } 23 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/combined-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "name": "combined-stream", 4 | "description": "A stream that emits multiple other streams one after another.", 5 | "version": "1.0.8", 6 | "homepage": "https://github.com/felixge/node-combined-stream", 7 | "repository": { 8 | "type": "git", 9 | "url": "git://github.com/felixge/node-combined-stream.git" 10 | }, 11 | "main": "./lib/combined_stream", 12 | "scripts": { 13 | "test": "node test/run.js" 14 | }, 15 | "engines": { 16 | "node": ">= 0.8" 17 | }, 18 | "dependencies": { 19 | "delayed-stream": "~1.0.0" 20 | }, 21 | "devDependencies": { 22 | "far": "~0.0.7" 23 | }, 24 | "license": "MIT" 25 | } 26 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/readable_serial.js: -------------------------------------------------------------------------------- 1 | var serial = require('../serial.js'); 2 | 3 | // API 4 | module.exports = ReadableSerial; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.serial` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableSerial(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableSerial)) 17 | { 18 | return new ReadableSerial(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableSerial.super_.call(this, {objectMode: true}); 23 | 24 | this._start(serial, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/contains.js: -------------------------------------------------------------------------------- 1 | import { isShadowRoot } from "./instanceOf.js"; 2 | export default function contains(parent, child) { 3 | var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method 4 | 5 | if (parent.contains(child)) { 6 | return true; 7 | } // then fallback to custom implementation with Shadow DOM support 8 | else if (rootNode && isShadowRoot(rootNode)) { 9 | var next = child; 10 | 11 | do { 12 | if (next && parent.isSameNode(next)) { 13 | return true; 14 | } // $FlowFixMe[prop-missing]: need a better way to handle this... 15 | 16 | 17 | next = next.parentNode || next.host; 18 | } while (next); 19 | } // Give up, the result is false 20 | 21 | 22 | return false; 23 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/contains.js: -------------------------------------------------------------------------------- 1 | import { isShadowRoot } from "./instanceOf.js"; 2 | export default function contains(parent, child) { 3 | var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method 4 | 5 | if (parent.contains(child)) { 6 | return true; 7 | } // then fallback to custom implementation with Shadow DOM support 8 | else if (rootNode && isShadowRoot(rootNode)) { 9 | var next = child; 10 | 11 | do { 12 | if (next && parent.isSameNode(next)) { 13 | return true; 14 | } // $FlowFixMe[prop-missing]: need a better way to handle this... 15 | 16 | 17 | next = next.parentNode || next.host; 18 | } while (next); 19 | } // Give up, the result is false 20 | 21 | 22 | return false; 23 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/createPopper.d.ts: -------------------------------------------------------------------------------- 1 | import type { OptionsGeneric, Modifier, Instance, VirtualElement } from "./types"; 2 | import detectOverflow from "./utils/detectOverflow"; 3 | declare type PopperGeneratorArgs = { 4 | defaultModifiers?: Array>; 5 | defaultOptions?: Partial>; 6 | }; 7 | export declare function popperGenerator(generatorOptions?: PopperGeneratorArgs): >>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial>) => Instance; 8 | export declare const createPopper: >>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial>) => Instance; 9 | export { detectOverflow }; 10 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js: -------------------------------------------------------------------------------- 1 | import getBoundingClientRect from "./getBoundingClientRect.js"; 2 | import getDocumentElement from "./getDocumentElement.js"; 3 | import getWindowScroll from "./getWindowScroll.js"; 4 | export default function getWindowScrollBarX(element) { 5 | // If has a CSS width greater than the viewport, then this will be 6 | // incorrect for RTL. 7 | // Popper 1 is broken in this case and never had a bug report so let's assume 8 | // it's not an issue. I don't think anyone ever specifies width on 9 | // anyway. 10 | // Browsers where the left scrollbar doesn't cause an issue report `0` for 11 | // this (e.g. Edge 2019, IE11, Safari) 12 | return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft; 13 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_transition.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable property-disallowed-list 2 | @mixin transition($transition...) { 3 | @if length($transition) == 0 { 4 | $transition: $transition-base; 5 | } 6 | 7 | @if length($transition) > 1 { 8 | @each $value in $transition { 9 | @if $value == null or $value == none { 10 | @warn "The keyword 'none' or 'null' must be used as a single argument."; 11 | } 12 | } 13 | } 14 | 15 | @if $enable-transitions { 16 | @if nth($transition, 1) != null { 17 | transition: $transition; 18 | } 19 | 20 | @if $enable-reduced-motion and nth($transition, 1) != null and nth($transition, 1) != none { 21 | @media (prefers-reduced-motion: reduce) { 22 | transition: none; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/stream.js: -------------------------------------------------------------------------------- 1 | var inherits = require('util').inherits 2 | , Readable = require('stream').Readable 3 | , ReadableAsyncKit = require('./lib/readable_asynckit.js') 4 | , ReadableParallel = require('./lib/readable_parallel.js') 5 | , ReadableSerial = require('./lib/readable_serial.js') 6 | , ReadableSerialOrdered = require('./lib/readable_serial_ordered.js') 7 | ; 8 | 9 | // API 10 | module.exports = 11 | { 12 | parallel : ReadableParallel, 13 | serial : ReadableSerial, 14 | serialOrdered : ReadableSerialOrdered, 15 | }; 16 | 17 | inherits(ReadableAsyncKit, Readable); 18 | 19 | inherits(ReadableParallel, ReadableAsyncKit); 20 | inherits(ReadableSerial, ReadableAsyncKit); 21 | inherits(ReadableSerialOrdered, ReadableAsyncKit); 22 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getWindowScrollBarX.js: -------------------------------------------------------------------------------- 1 | import getBoundingClientRect from "./getBoundingClientRect.js"; 2 | import getDocumentElement from "./getDocumentElement.js"; 3 | import getWindowScroll from "./getWindowScroll.js"; 4 | export default function getWindowScrollBarX(element) { 5 | // If has a CSS width greater than the viewport, then this will be 6 | // incorrect for RTL. 7 | // Popper 1 is broken in this case and never had a bug report so let's assume 8 | // it's not an issue. I don't think anyone ever specifies width on 9 | // anyway. 10 | // Browsers where the left scrollbar doesn't cause an issue report `0` for 11 | // this (e.g. Edge 2019, IE11, Safari) 12 | return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft; 13 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/offset.d.ts: -------------------------------------------------------------------------------- 1 | import type { Placement } from "../enums"; 2 | import type { Modifier, Rect, Offsets } from "../types"; 3 | export declare type OffsetsFunction = (arg0: { 4 | popper: Rect; 5 | reference: Rect; 6 | placement: Placement; 7 | }) => [number | null | undefined, number | null | undefined]; 8 | declare type Offset = OffsetsFunction | [number | null | undefined, number | null | undefined]; 9 | export declare type Options = { 10 | offset: Offset; 11 | }; 12 | export declare function distanceAndSkiddingToXY(placement: Placement, rects: { 13 | popper: Rect; 14 | reference: Rect; 15 | }, offset: Offset): Offsets; 16 | export declare type OffsetModifier = Modifier<"offset", Options>; 17 | declare const _default: OffsetModifier; 18 | export default _default; 19 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/readable_parallel.js: -------------------------------------------------------------------------------- 1 | var parallel = require('../parallel.js'); 2 | 3 | // API 4 | module.exports = ReadableParallel; 5 | 6 | /** 7 | * Streaming wrapper to `asynckit.parallel` 8 | * 9 | * @param {array|object} list - array or object (named list) to iterate over 10 | * @param {function} iterator - iterator to run 11 | * @param {function} callback - invoked when all elements processed 12 | * @returns {stream.Readable#} 13 | */ 14 | function ReadableParallel(list, iterator, callback) 15 | { 16 | if (!(this instanceof ReadableParallel)) 17 | { 18 | return new ReadableParallel(list, iterator, callback); 19 | } 20 | 21 | // turn on object mode 22 | ReadableParallel.super_.call(this, {objectMode: true}); 23 | 24 | this._start(parallel, list, iterator, callback); 25 | } 26 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/core/buildFullPath.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import isAbsoluteURL from '../helpers/isAbsoluteURL.js'; 4 | import combineURLs from '../helpers/combineURLs.js'; 5 | 6 | /** 7 | * Creates a new URL by combining the baseURL with the requestedURL, 8 | * only when the requestedURL is not already an absolute URL. 9 | * If the requestURL is absolute, this function returns the requestedURL untouched. 10 | * 11 | * @param {string} baseURL The base URL 12 | * @param {string} requestedURL Absolute or relative URL to combine 13 | * 14 | * @returns {string} The combined full path 15 | */ 16 | export default function buildFullPath(baseURL, requestedURL) { 17 | if (baseURL && !isAbsoluteURL(requestedURL)) { 18 | return combineURLs(baseURL, requestedURL); 19 | } 20 | return requestedURL; 21 | } 22 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/helpers/_position.scss: -------------------------------------------------------------------------------- 1 | // Shorthand 2 | 3 | .fixed-top { 4 | position: fixed; 5 | top: 0; 6 | right: 0; 7 | left: 0; 8 | z-index: $zindex-fixed; 9 | } 10 | 11 | .fixed-bottom { 12 | position: fixed; 13 | right: 0; 14 | bottom: 0; 15 | left: 0; 16 | z-index: $zindex-fixed; 17 | } 18 | 19 | // Responsive sticky top and bottom 20 | @each $breakpoint in map-keys($grid-breakpoints) { 21 | @include media-breakpoint-up($breakpoint) { 22 | $infix: breakpoint-infix($breakpoint, $grid-breakpoints); 23 | 24 | .sticky#{$infix}-top { 25 | position: sticky; 26 | top: 0; 27 | z-index: $zindex-sticky; 28 | } 29 | 30 | .sticky#{$infix}-bottom { 31 | position: sticky; 32 | bottom: 0; 33 | z-index: $zindex-sticky; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/delayed-stream/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Felix Geisendörfer (http://debuggable.com/)", 3 | "contributors": [ 4 | "Mike Atkins " 5 | ], 6 | "name": "delayed-stream", 7 | "description": "Buffers events from a stream until you are ready to handle them.", 8 | "license": "MIT", 9 | "version": "1.0.0", 10 | "homepage": "https://github.com/felixge/node-delayed-stream", 11 | "repository": { 12 | "type": "git", 13 | "url": "git://github.com/felixge/node-delayed-stream.git" 14 | }, 15 | "main": "./lib/delayed_stream", 16 | "engines": { 17 | "node": ">=0.4.0" 18 | }, 19 | "scripts": { 20 | "test": "make test" 21 | }, 22 | "dependencies": {}, 23 | "devDependencies": { 24 | "fake": "0.2.0", 25 | "far": "0.0.1" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/cancel/CanceledError.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosError from '../core/AxiosError.js'; 4 | import utils from '../utils.js'; 5 | 6 | /** 7 | * A `CanceledError` is an object that is thrown when an operation is canceled. 8 | * 9 | * @param {string=} message The message. 10 | * @param {Object=} config The config. 11 | * @param {Object=} request The request. 12 | * 13 | * @returns {CanceledError} The created error. 14 | */ 15 | function CanceledError(message, config, request) { 16 | // eslint-disable-next-line no-eq-null,eqeqeq 17 | AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); 18 | this.name = 'CanceledError'; 19 | } 20 | 21 | utils.inherits(CanceledError, AxiosError, { 22 | __CANCEL__: true 23 | }); 24 | 25 | export default CanceledError; 26 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/contains.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { isShadowRoot } from './instanceOf'; 3 | 4 | export default function contains(parent: Element, child: Element) { 5 | const rootNode = child.getRootNode && child.getRootNode(); 6 | 7 | // First, attempt with faster native method 8 | if (parent.contains(child)) { 9 | return true; 10 | } 11 | // then fallback to custom implementation with Shadow DOM support 12 | else if (rootNode && isShadowRoot(rootNode)) { 13 | let next = child; 14 | do { 15 | if (next && parent.isSameNode(next)) { 16 | return true; 17 | } 18 | // $FlowFixMe[prop-missing]: need a better way to handle this... 19 | next = next.parentNode || next.host; 20 | } while (next); 21 | } 22 | 23 | // Give up, the result is false 24 | return false; 25 | } 26 | -------------------------------------------------------------------------------- /l1-dataTypes.php: -------------------------------------------------------------------------------- 1 | "; 6 | 7 | //integer 8 | $data = 123; 9 | var_dump($data); 10 | echo "
"; 11 | 12 | //float 13 | $data = 123.45; 14 | var_dump($data); 15 | echo "
"; 16 | 17 | //boolean 18 | $data = true; 19 | var_dump($data); 20 | echo "
"; 21 | 22 | //Null 23 | $data = null; 24 | var_dump($data); 25 | echo "
"; 26 | 27 | //Array 28 | $data = ["Yusuf Vai", "Dip Chowdhury", 25]; 29 | var_dump($data); 30 | echo "
"; 31 | 32 | //Object 33 | class bibaho { 34 | public $obibahitoBou = "Public Property"; 35 | } 36 | 37 | $data = new bibaho; 38 | var_dump($data); 39 | echo "
"; 40 | 41 | // Resourse 42 | //Database 43 | ?> 44 | 45 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js: -------------------------------------------------------------------------------- 1 | import computeOffsets from "../utils/computeOffsets.js"; 2 | 3 | function popperOffsets(_ref) { 4 | var state = _ref.state, 5 | name = _ref.name; 6 | // Offsets are the actual position the popper needs to have to be 7 | // properly positioned near its reference element 8 | // This is the most basic placement, and will be adjusted by 9 | // the modifiers in the next step 10 | state.modifiersData[name] = computeOffsets({ 11 | reference: state.rects.reference, 12 | element: state.rects.popper, 13 | strategy: 'absolute', 14 | placement: state.placement 15 | }); 16 | } // eslint-disable-next-line import/no-unused-modules 17 | 18 | 19 | export default { 20 | name: 'popperOffsets', 21 | enabled: true, 22 | phase: 'read', 23 | fn: popperOffsets, 24 | data: {} 25 | }; -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | import stream from "stream"; 4 | 5 | class ZlibHeaderTransformStream extends stream.Transform { 6 | __transform(chunk, encoding, callback) { 7 | this.push(chunk); 8 | callback(); 9 | } 10 | 11 | _transform(chunk, encoding, callback) { 12 | if (chunk.length !== 0) { 13 | this._transform = this.__transform; 14 | 15 | // Add Default Compression headers if no zlib headers are present 16 | if (chunk[0] !== 120) { // Hex: 78 17 | const header = Buffer.alloc(2); 18 | header[0] = 120; // Hex: 78 19 | header[1] = 156; // Hex: 9C 20 | this.push(header, encoding); 21 | } 22 | } 23 | 24 | this.__transform(chunk, encoding, callback); 25 | } 26 | } 27 | 28 | export default ZlibHeaderTransformStream; 29 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/modifiers/popperOffsets.js: -------------------------------------------------------------------------------- 1 | import computeOffsets from "../utils/computeOffsets.js"; 2 | 3 | function popperOffsets(_ref) { 4 | var state = _ref.state, 5 | name = _ref.name; 6 | // Offsets are the actual position the popper needs to have to be 7 | // properly positioned near its reference element 8 | // This is the most basic placement, and will be adjusted by 9 | // the modifiers in the next step 10 | state.modifiersData[name] = computeOffsets({ 11 | reference: state.rects.reference, 12 | element: state.rects.popper, 13 | strategy: 'absolute', 14 | placement: state.placement 15 | }); 16 | } // eslint-disable-next-line import/no-unused-modules 17 | 18 | 19 | export default { 20 | name: 'popperOffsets', 21 | enabled: true, 22 | phase: 'read', 23 | fn: popperOffsets, 24 | data: {} 25 | }; -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/index.js: -------------------------------------------------------------------------------- 1 | import axios from './lib/axios.js'; 2 | 3 | // This module is intended to unwrap Axios default export as named. 4 | // Keep top-level export same with static properties 5 | // so that it can keep same with es module or cjs 6 | const { 7 | Axios, 8 | AxiosError, 9 | CanceledError, 10 | isCancel, 11 | CancelToken, 12 | VERSION, 13 | all, 14 | Cancel, 15 | isAxiosError, 16 | spread, 17 | toFormData, 18 | AxiosHeaders, 19 | HttpStatusCode, 20 | formToJSON, 21 | mergeConfig 22 | } = axios; 23 | 24 | export { 25 | axios as default, 26 | Axios, 27 | AxiosError, 28 | CanceledError, 29 | isCancel, 30 | CancelToken, 31 | VERSION, 32 | all, 33 | Cancel, 34 | isAxiosError, 35 | spread, 36 | toFormData, 37 | AxiosHeaders, 38 | HttpStatusCode, 39 | formToJSON, 40 | mergeConfig 41 | } 42 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js: -------------------------------------------------------------------------------- 1 | import getNodeName from "./getNodeName.js"; 2 | import getDocumentElement from "./getDocumentElement.js"; 3 | import { isShadowRoot } from "./instanceOf.js"; 4 | export default function getParentNode(element) { 5 | if (getNodeName(element) === 'html') { 6 | return element; 7 | } 8 | 9 | return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle 10 | // $FlowFixMe[incompatible-return] 11 | // $FlowFixMe[prop-missing] 12 | element.assignedSlot || // step into the shadow DOM of the parent of a slotted node 13 | element.parentNode || ( // DOM Element detected 14 | isShadowRoot(element) ? element.host : null) || // ShadowRoot detected 15 | // $FlowFixMe[incompatible-call]: HTMLElement is a Node 16 | getDocumentElement(element) // fallback 17 | 18 | ); 19 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getParentNode.js: -------------------------------------------------------------------------------- 1 | import getNodeName from "./getNodeName.js"; 2 | import getDocumentElement from "./getDocumentElement.js"; 3 | import { isShadowRoot } from "./instanceOf.js"; 4 | export default function getParentNode(element) { 5 | if (getNodeName(element) === 'html') { 6 | return element; 7 | } 8 | 9 | return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle 10 | // $FlowFixMe[incompatible-return] 11 | // $FlowFixMe[prop-missing] 12 | element.assignedSlot || // step into the shadow DOM of the parent of a slotted node 13 | element.parentNode || ( // DOM Element detected 14 | isShadowRoot(element) ? element.host : null) || // ShadowRoot detected 15 | // $FlowFixMe[incompatible-call]: HTMLElement is a Node 16 | getDocumentElement(element) // fallback 17 | 18 | ); 19 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getBoundingClientRect from './getBoundingClientRect'; 3 | import getDocumentElement from './getDocumentElement'; 4 | import getWindowScroll from './getWindowScroll'; 5 | 6 | export default function getWindowScrollBarX(element: Element): number { 7 | // If has a CSS width greater than the viewport, then this will be 8 | // incorrect for RTL. 9 | // Popper 1 is broken in this case and never had a bug report so let's assume 10 | // it's not an issue. I don't think anyone ever specifies width on 11 | // anyway. 12 | // Browsers where the left scrollbar doesn't cause an issue report `0` for 13 | // this (e.g. Edge 2019, IE11, Safari) 14 | return ( 15 | getBoundingClientRect(getDocumentElement(element)).left + 16 | getWindowScroll(element).scrollLeft 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/throttle.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Throttle decorator 5 | * @param {Function} fn 6 | * @param {Number} freq 7 | * @return {Function} 8 | */ 9 | function throttle(fn, freq) { 10 | let timestamp = 0; 11 | const threshold = 1000 / freq; 12 | let timer = null; 13 | return function throttled(force, args) { 14 | const now = Date.now(); 15 | if (force || now - timestamp > threshold) { 16 | if (timer) { 17 | clearTimeout(timer); 18 | timer = null; 19 | } 20 | timestamp = now; 21 | return fn.apply(null, args); 22 | } 23 | if (!timer) { 24 | timer = setTimeout(() => { 25 | timer = null; 26 | timestamp = Date.now(); 27 | return fn.apply(null, args); 28 | }, threshold - (now - timestamp)); 29 | } 30 | }; 31 | } 32 | 33 | export default throttle; 34 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/deprecatedMethod.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /*eslint no-console:0*/ 4 | 5 | /** 6 | * Supply a warning to the developer that a method they are using 7 | * has been deprecated. 8 | * 9 | * @param {string} method The name of the deprecated method 10 | * @param {string} [instead] The alternate method to use if applicable 11 | * @param {string} [docs] The documentation URL to get further details 12 | * 13 | * @returns {void} 14 | */ 15 | export default function deprecatedMethod(method, instead, docs) { 16 | try { 17 | console.warn( 18 | 'DEPRECATED method `' + method + '`.' + 19 | (instead ? ' Use `' + instead + '` instead.' : '') + 20 | ' This method will be removed in a future release.'); 21 | 22 | if (docs) { 23 | console.warn('For more information about usage see ' + docs); 24 | } 25 | } catch (e) { /* Ignore */ } 26 | } 27 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/proxy-from-env/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true 4 | }, 5 | "rules": { 6 | "array-bracket-spacing": [2, "never"], 7 | "block-scoped-var": 2, 8 | "brace-style": [2, "1tbs"], 9 | "camelcase": 1, 10 | "computed-property-spacing": [2, "never"], 11 | "curly": 2, 12 | "eol-last": 2, 13 | "eqeqeq": [2, "smart"], 14 | "max-depth": [1, 3], 15 | "max-len": [1, 80], 16 | "max-statements": [1, 15], 17 | "new-cap": 1, 18 | "no-extend-native": 2, 19 | "no-mixed-spaces-and-tabs": 2, 20 | "no-trailing-spaces": 2, 21 | "no-unused-vars": 1, 22 | "no-use-before-define": [2, "nofunc"], 23 | "object-curly-spacing": [2, "never"], 24 | "quotes": [2, "single", "avoid-escape"], 25 | "semi": [2, "always"], 26 | "keyword-spacing": [2, {"before": true, "after": true}], 27 | "space-unary-ops": 2 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js: -------------------------------------------------------------------------------- 1 | import getBoundingClientRect from "./getBoundingClientRect.js"; // Returns the layout rect of an element relative to its offsetParent. Layout 2 | // means it doesn't take into account transforms. 3 | 4 | export default function getLayoutRect(element) { 5 | var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed. 6 | // Fixes https://github.com/popperjs/popper-core/issues/1223 7 | 8 | var width = element.offsetWidth; 9 | var height = element.offsetHeight; 10 | 11 | if (Math.abs(clientRect.width - width) <= 1) { 12 | width = clientRect.width; 13 | } 14 | 15 | if (Math.abs(clientRect.height - height) <= 1) { 16 | height = clientRect.height; 17 | } 18 | 19 | return { 20 | x: element.offsetLeft, 21 | y: element.offsetTop, 22 | width: width, 23 | height: height 24 | }; 25 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getLayoutRect.js: -------------------------------------------------------------------------------- 1 | import getBoundingClientRect from "./getBoundingClientRect.js"; // Returns the layout rect of an element relative to its offsetParent. Layout 2 | // means it doesn't take into account transforms. 3 | 4 | export default function getLayoutRect(element) { 5 | var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed. 6 | // Fixes https://github.com/popperjs/popper-core/issues/1223 7 | 8 | var width = element.offsetWidth; 9 | var height = element.offsetHeight; 10 | 11 | if (Math.abs(clientRect.width - width) <= 1) { 12 | width = clientRect.width; 13 | } 14 | 15 | if (Math.abs(clientRect.height - height) <= 1) { 16 | height = clientRect.height; 17 | } 18 | 19 | return { 20 | x: element.offsetLeft, 21 | y: element.offsetTop, 22 | width: width, 23 | height: height 24 | }; 25 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getNodeName from './getNodeName'; 3 | import getDocumentElement from './getDocumentElement'; 4 | import { isShadowRoot } from './instanceOf'; 5 | 6 | export default function getParentNode(element: Node | ShadowRoot): Node { 7 | if (getNodeName(element) === 'html') { 8 | return element; 9 | } 10 | 11 | return ( 12 | // this is a quicker (but less type safe) way to save quite some bytes from the bundle 13 | // $FlowFixMe[incompatible-return] 14 | // $FlowFixMe[prop-missing] 15 | element.assignedSlot || // step into the shadow DOM of the parent of a slotted node 16 | element.parentNode || // DOM Element detected 17 | (isShadowRoot(element) ? element.host : null) || // ShadowRoot detected 18 | // $FlowFixMe[incompatible-call]: HTMLElement is a Node 19 | getDocumentElement(element) // fallback 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/core/transformData.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import utils from './../utils.js'; 4 | import defaults from '../defaults/index.js'; 5 | import AxiosHeaders from '../core/AxiosHeaders.js'; 6 | 7 | /** 8 | * Transform the data for a request or a response 9 | * 10 | * @param {Array|Function} fns A single function or Array of functions 11 | * @param {?Object} response The response object 12 | * 13 | * @returns {*} The resulting transformed data 14 | */ 15 | export default function transformData(fns, response) { 16 | const config = this || defaults; 17 | const context = response || config; 18 | const headers = AxiosHeaders.from(context.headers); 19 | let data = context.data; 20 | 21 | utils.forEach(fns, function transform(fn) { 22 | data = fn.call(config, data, headers.normalize(), response ? response.status : undefined); 23 | }); 24 | 25 | headers.normalize(); 26 | 27 | return data; 28 | } 29 | -------------------------------------------------------------------------------- /l11-formValidation/nav.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/core/settle.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | import AxiosError from './AxiosError.js'; 4 | 5 | /** 6 | * Resolve or reject a Promise based on response status. 7 | * 8 | * @param {Function} resolve A function that resolves the promise. 9 | * @param {Function} reject A function that rejects the promise. 10 | * @param {object} response The response. 11 | * 12 | * @returns {object} The response. 13 | */ 14 | export default function settle(resolve, reject, response) { 15 | const validateStatus = response.config.validateStatus; 16 | if (!response.status || !validateStatus || validateStatus(response.status)) { 17 | resolve(response); 18 | } else { 19 | reject(new AxiosError( 20 | 'Request failed with status code ' + response.status, 21 | [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], 22 | response.config, 23 | response.request, 24 | response 25 | )); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { Rect } from '../types'; 3 | import getBoundingClientRect from './getBoundingClientRect'; 4 | 5 | // Returns the layout rect of an element relative to its offsetParent. Layout 6 | // means it doesn't take into account transforms. 7 | export default function getLayoutRect(element: HTMLElement): Rect { 8 | const clientRect = getBoundingClientRect(element); 9 | 10 | // Use the clientRect sizes if it's not been transformed. 11 | // Fixes https://github.com/popperjs/popper-core/issues/1223 12 | let width = element.offsetWidth; 13 | let height = element.offsetHeight; 14 | 15 | if (Math.abs(clientRect.width - width) <= 1) { 16 | width = clientRect.width; 17 | } 18 | 19 | if (Math.abs(clientRect.height - height) <= 1) { 20 | height = clientRect.height; 21 | } 22 | 23 | return { 24 | x: element.offsetLeft, 25 | y: element.offsetTop, 26 | width, 27 | height, 28 | }; 29 | } 30 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import type { ModifierArguments, Modifier } from '../types'; 3 | import computeOffsets from '../utils/computeOffsets'; 4 | 5 | function popperOffsets({ state, name }: ModifierArguments<{||}>) { 6 | // Offsets are the actual position the popper needs to have to be 7 | // properly positioned near its reference element 8 | // This is the most basic placement, and will be adjusted by 9 | // the modifiers in the next step 10 | state.modifiersData[name] = computeOffsets({ 11 | reference: state.rects.reference, 12 | element: state.rects.popper, 13 | strategy: 'absolute', 14 | placement: state.placement, 15 | }); 16 | } 17 | 18 | // eslint-disable-next-line import/no-unused-modules 19 | export type PopperOffsetsModifier = Modifier<'popperOffsets', {||}>; 20 | export default ({ 21 | name: 'popperOffsets', 22 | enabled: true, 23 | phase: 'read', 24 | fn: popperOffsets, 25 | data: {}, 26 | }: PopperOffsetsModifier); 27 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts: -------------------------------------------------------------------------------- 1 | import type { Placement, Boundary, RootBoundary } from "../enums"; 2 | import type { Rect, Modifier, Padding } from "../types"; 3 | declare type TetherOffset = ((arg0: { 4 | popper: Rect; 5 | reference: Rect; 6 | placement: Placement; 7 | }) => number | { 8 | mainAxis: number; 9 | altAxis: number; 10 | }) | number | { 11 | mainAxis: number; 12 | altAxis: number; 13 | }; 14 | export declare type Options = { 15 | mainAxis: boolean; 16 | altAxis: boolean; 17 | boundary: Boundary; 18 | rootBoundary: RootBoundary; 19 | altBoundary: boolean; 20 | /** 21 | * Allows the popper to overflow from its boundaries to keep it near its 22 | * reference element 23 | */ 24 | tether: boolean; 25 | tetherOffset: TetherOffset; 26 | padding: Padding; 27 | }; 28 | export declare type PreventOverflowModifier = Modifier<"preventOverflow", Options>; 29 | declare const _default: PreventOverflowModifier; 30 | export default _default; 31 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | import getDocumentElement from "./getDocumentElement.js"; 3 | import getWindowScrollBarX from "./getWindowScrollBarX.js"; 4 | import isLayoutViewport from "./isLayoutViewport.js"; 5 | export default function getViewportRect(element, strategy) { 6 | var win = getWindow(element); 7 | var html = getDocumentElement(element); 8 | var visualViewport = win.visualViewport; 9 | var width = html.clientWidth; 10 | var height = html.clientHeight; 11 | var x = 0; 12 | var y = 0; 13 | 14 | if (visualViewport) { 15 | width = visualViewport.width; 16 | height = visualViewport.height; 17 | var layoutViewport = isLayoutViewport(); 18 | 19 | if (layoutViewport || !layoutViewport && strategy === 'fixed') { 20 | x = visualViewport.offsetLeft; 21 | y = visualViewport.offsetTop; 22 | } 23 | } 24 | 25 | return { 26 | width: width, 27 | height: height, 28 | x: x + getWindowScrollBarX(element), 29 | y: y 30 | }; 31 | } -------------------------------------------------------------------------------- /niyamot/haha.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Niyamot Online 14 | 15 | 16 | 17 | 18 | 19 |
20 |
21 |
22 | Please contact with admin to get approved! 23 |
24 |
25 |
26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/getViewportRect.js: -------------------------------------------------------------------------------- 1 | import getWindow from "./getWindow.js"; 2 | import getDocumentElement from "./getDocumentElement.js"; 3 | import getWindowScrollBarX from "./getWindowScrollBarX.js"; 4 | import isLayoutViewport from "./isLayoutViewport.js"; 5 | export default function getViewportRect(element, strategy) { 6 | var win = getWindow(element); 7 | var html = getDocumentElement(element); 8 | var visualViewport = win.visualViewport; 9 | var width = html.clientWidth; 10 | var height = html.clientHeight; 11 | var x = 0; 12 | var y = 0; 13 | 14 | if (visualViewport) { 15 | width = visualViewport.width; 16 | height = visualViewport.height; 17 | var layoutViewport = isLayoutViewport(); 18 | 19 | if (layoutViewport || !layoutViewport && strategy === 'fixed') { 20 | x = visualViewport.offsetLeft; 21 | y = visualViewport.offsetTop; 22 | } 23 | } 24 | 25 | return { 26 | width: width, 27 | height: height, 28 | x: x + getWindowScrollBarX(element), 29 | y: y 30 | }; 31 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getWindow from './getWindow'; 3 | 4 | declare function isElement(node: mixed): boolean %checks(node instanceof 5 | Element); 6 | function isElement(node) { 7 | const OwnElement = getWindow(node).Element; 8 | return node instanceof OwnElement || node instanceof Element; 9 | } 10 | 11 | declare function isHTMLElement(node: mixed): boolean %checks(node instanceof 12 | HTMLElement); 13 | function isHTMLElement(node) { 14 | const OwnElement = getWindow(node).HTMLElement; 15 | return node instanceof OwnElement || node instanceof HTMLElement; 16 | } 17 | 18 | declare function isShadowRoot(node: mixed): boolean %checks(node instanceof 19 | ShadowRoot); 20 | function isShadowRoot(node) { 21 | // IE 11 has no ShadowRoot 22 | if (typeof ShadowRoot === 'undefined') { 23 | return false; 24 | } 25 | const OwnElement = getWindow(node).ShadowRoot; 26 | return node instanceof OwnElement || node instanceof ShadowRoot; 27 | } 28 | 29 | export { isElement, isHTMLElement, isShadowRoot }; 30 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper.d.ts: -------------------------------------------------------------------------------- 1 | import { popperGenerator, detectOverflow } from "./createPopper"; 2 | export * from "./types"; 3 | declare const defaultModifiers: (import("./modifiers/popperOffsets").PopperOffsetsModifier | import("./modifiers/flip").FlipModifier | import("./modifiers/hide").HideModifier | import("./modifiers/offset").OffsetModifier | import("./modifiers/eventListeners").EventListenersModifier | import("./modifiers/computeStyles").ComputeStylesModifier | import("./modifiers/arrow").ArrowModifier | import("./modifiers/preventOverflow").PreventOverflowModifier | import("./modifiers/applyStyles").ApplyStylesModifier)[]; 4 | declare const createPopper: >>(reference: Element | import("./types").VirtualElement, popper: HTMLElement, options?: Partial>) => import("./types").Instance; 5 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; 6 | export { createPopper as createPopperLite } from "./popper-lite"; 7 | export * from "./modifiers"; 8 | -------------------------------------------------------------------------------- /l2-operators.php: -------------------------------------------------------------------------------- 1 | 34 | * !== 35 | * < 36 | * > 37 | * <= 38 | * >= 39 | */ 40 | 41 | /** 42 | * condiational operator 43 | * and 44 | * or 45 | * && 46 | * || 47 | * xor 48 | */ 49 | 50 | /** 51 | * contational operators 52 | * . 53 | * .= 54 | */ 55 | 56 | /** 57 | * Conditional Assignment Operators 58 | * ?: 59 | * ?? 60 | */ 61 | 62 | $ms = "obibahito"; 63 | 64 | $yt = ($ms == "bibahito")? "Tkai taka":"Fokir"; 65 | 66 | echo $yt; 67 | 68 | echo $ami ?? "ami"; 69 | ?> -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/readable_serial_ordered.js: -------------------------------------------------------------------------------- 1 | var serialOrdered = require('../serialOrdered.js'); 2 | 3 | // API 4 | module.exports = ReadableSerialOrdered; 5 | // expose sort helpers 6 | module.exports.ascending = serialOrdered.ascending; 7 | module.exports.descending = serialOrdered.descending; 8 | 9 | /** 10 | * Streaming wrapper to `asynckit.serialOrdered` 11 | * 12 | * @param {array|object} list - array or object (named list) to iterate over 13 | * @param {function} iterator - iterator to run 14 | * @param {function} sortMethod - custom sort function 15 | * @param {function} callback - invoked when all elements processed 16 | * @returns {stream.Readable#} 17 | */ 18 | function ReadableSerialOrdered(list, iterator, sortMethod, callback) 19 | { 20 | if (!(this instanceof ReadableSerialOrdered)) 21 | { 22 | return new ReadableSerialOrdered(list, iterator, sortMethod, callback); 23 | } 24 | 25 | // turn on object mode 26 | ReadableSerialOrdered.super_.call(this, {objectMode: true}); 27 | 28 | this._start(serialOrdered, list, iterator, sortMethod, callback); 29 | } 30 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/LICENSE: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2014-present Matt Zabriskie & Collaborators 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/adapters/README.md: -------------------------------------------------------------------------------- 1 | # axios // adapters 2 | 3 | The modules under `adapters/` are modules that handle dispatching a request and settling a returned `Promise` once a response is received. 4 | 5 | ## Example 6 | 7 | ```js 8 | var settle = require('./../core/settle'); 9 | 10 | module.exports = function myAdapter(config) { 11 | // At this point: 12 | // - config has been merged with defaults 13 | // - request transformers have already run 14 | // - request interceptors have already run 15 | 16 | // Make the request using config provided 17 | // Upon response settle the Promise 18 | 19 | return new Promise(function(resolve, reject) { 20 | 21 | var response = { 22 | data: responseData, 23 | status: request.status, 24 | statusText: request.statusText, 25 | headers: responseHeaders, 26 | config: config, 27 | request: request 28 | }; 29 | 30 | settle(resolve, reject, response); 31 | 32 | // From here: 33 | // - response transformers will run 34 | // - response interceptors will run 35 | }); 36 | } 37 | ``` 38 | -------------------------------------------------------------------------------- /l11-formValidation/signup.php: -------------------------------------------------------------------------------- 1 | 5 |
6 |
7 |
8 |

Sign-up Form

9 |
10 |
11 | 12 |
13 | 14 |
15 |
16 |
17 | 18 |
19 |
20 |
21 |
22 |
23 | 24 | 25 | 28 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Toggles 2 | // 3 | // Used in conjunction with global variables to enable certain theme features. 4 | 5 | // Vendor 6 | @import "vendor/rfs"; 7 | 8 | // Deprecate 9 | @import "mixins/deprecate"; 10 | 11 | // Helpers 12 | @import "mixins/breakpoints"; 13 | @import "mixins/color-scheme"; 14 | @import "mixins/image"; 15 | @import "mixins/resize"; 16 | @import "mixins/visually-hidden"; 17 | @import "mixins/reset-text"; 18 | @import "mixins/text-truncate"; 19 | 20 | // Utilities 21 | @import "mixins/utilities"; 22 | 23 | // Components 24 | @import "mixins/alert"; 25 | @import "mixins/backdrop"; 26 | @import "mixins/buttons"; 27 | @import "mixins/caret"; 28 | @import "mixins/pagination"; 29 | @import "mixins/lists"; 30 | @import "mixins/list-group"; 31 | @import "mixins/forms"; 32 | @import "mixins/table-variants"; 33 | 34 | // Skins 35 | @import "mixins/border-radius"; 36 | @import "mixins/box-shadow"; 37 | @import "mixins/gradients"; 38 | @import "mixins/transition"; 39 | 40 | // Layout 41 | @import "mixins/clearfix"; 42 | @import "mixins/container"; 43 | @import "mixins/grid"; 44 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_placeholders.scss: -------------------------------------------------------------------------------- 1 | .placeholder { 2 | display: inline-block; 3 | min-height: 1em; 4 | vertical-align: middle; 5 | cursor: wait; 6 | background-color: currentcolor; 7 | opacity: $placeholder-opacity-max; 8 | 9 | &.btn::before { 10 | display: inline-block; 11 | content: ""; 12 | } 13 | } 14 | 15 | // Sizing 16 | .placeholder-xs { 17 | min-height: .6em; 18 | } 19 | 20 | .placeholder-sm { 21 | min-height: .8em; 22 | } 23 | 24 | .placeholder-lg { 25 | min-height: 1.2em; 26 | } 27 | 28 | // Animation 29 | .placeholder-glow { 30 | .placeholder { 31 | animation: placeholder-glow 2s ease-in-out infinite; 32 | } 33 | } 34 | 35 | @keyframes placeholder-glow { 36 | 50% { 37 | opacity: $placeholder-opacity-min; 38 | } 39 | } 40 | 41 | .placeholder-wave { 42 | mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%); 43 | mask-size: 200% 100%; 44 | animation: placeholder-wave 2s linear infinite; 45 | } 46 | 47 | @keyframes placeholder-wave { 48 | 100% { 49 | mask-position: -200% 0%; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/lib/state.js: -------------------------------------------------------------------------------- 1 | // API 2 | module.exports = state; 3 | 4 | /** 5 | * Creates initial state object 6 | * for iteration over list 7 | * 8 | * @param {array|object} list - list to iterate over 9 | * @param {function|null} sortMethod - function to use for keys sort, 10 | * or `null` to keep them as is 11 | * @returns {object} - initial state object 12 | */ 13 | function state(list, sortMethod) 14 | { 15 | var isNamedList = !Array.isArray(list) 16 | , initState = 17 | { 18 | index : 0, 19 | keyedList: isNamedList || sortMethod ? Object.keys(list) : null, 20 | jobs : {}, 21 | results : isNamedList ? {} : [], 22 | size : isNamedList ? Object.keys(list).length : list.length 23 | } 24 | ; 25 | 26 | if (sortMethod) 27 | { 28 | // sort array keys based on it's values 29 | // sort object's keys just on own merit 30 | initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) 31 | { 32 | return sortMethod(list[a], list[b]); 33 | }); 34 | } 35 | 36 | return initState; 37 | } 38 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/proxy-from-env/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "proxy-from-env", 3 | "version": "1.1.0", 4 | "description": "Offers getProxyForUrl to get the proxy URL for a URL, respecting the *_PROXY (e.g. HTTP_PROXY) and NO_PROXY environment variables.", 5 | "main": "index.js", 6 | "scripts": { 7 | "lint": "eslint *.js", 8 | "test": "mocha ./test.js --reporter spec", 9 | "test-coverage": "istanbul cover ./node_modules/.bin/_mocha -- --reporter spec" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/Rob--W/proxy-from-env.git" 14 | }, 15 | "keywords": [ 16 | "proxy", 17 | "http_proxy", 18 | "https_proxy", 19 | "no_proxy", 20 | "environment" 21 | ], 22 | "author": "Rob Wu (https://robwu.nl/)", 23 | "license": "MIT", 24 | "bugs": { 25 | "url": "https://github.com/Rob--W/proxy-from-env/issues" 26 | }, 27 | "homepage": "https://github.com/Rob--W/proxy-from-env#readme", 28 | "devDependencies": { 29 | "coveralls": "^3.0.9", 30 | "eslint": "^6.8.0", 31 | "istanbul": "^0.4.5", 32 | "mocha": "^7.1.0" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/umd/enums.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @popperjs/core v2.11.6 - MIT License 3 | */ 4 | 5 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,(function(e){"use strict";var t="bottom",r="right",o="left",n="auto",a=["top",t,r,o],i="start",f="end",p=a.reduce((function(e,t){return e.concat([t+"-"+i,t+"-"+f])}),[]),c=[].concat(a,[n]).reduce((function(e,t){return e.concat([t,t+"-"+i,t+"-"+f])}),[]),d="beforeRead",s="read",u="afterRead",l="beforeMain",b="main",m="afterMain",P="beforeWrite",g="write",h="afterWrite",v=[d,s,u,l,b,m,P,g,h];e.afterMain=m,e.afterRead=u,e.afterWrite=h,e.auto=n,e.basePlacements=a,e.beforeMain=l,e.beforeRead=d,e.beforeWrite=P,e.bottom=t,e.clippingParents="clippingParents",e.end=f,e.left=o,e.main=b,e.modifierPhases=v,e.placements=c,e.popper="popper",e.read=s,e.reference="reference",e.right=r,e.start=i,e.top="top",e.variationPlacements=p,e.viewport="viewport",e.write=g,Object.defineProperty(e,"__esModule",{value:!0})})); 6 | //# sourceMappingURL=enums.min.js.map 7 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/bootstrap.scss: -------------------------------------------------------------------------------- 1 | @import "mixins/banner"; 2 | @include bsBanner(""); 3 | 4 | 5 | // scss-docs-start import-stack 6 | // Configuration 7 | @import "functions"; 8 | @import "variables"; 9 | @import "maps"; 10 | @import "mixins"; 11 | @import "utilities"; 12 | 13 | // Layout & components 14 | @import "root"; 15 | @import "reboot"; 16 | @import "type"; 17 | @import "images"; 18 | @import "containers"; 19 | @import "grid"; 20 | @import "tables"; 21 | @import "forms"; 22 | @import "buttons"; 23 | @import "transitions"; 24 | @import "dropdown"; 25 | @import "button-group"; 26 | @import "nav"; 27 | @import "navbar"; 28 | @import "card"; 29 | @import "accordion"; 30 | @import "breadcrumb"; 31 | @import "pagination"; 32 | @import "badge"; 33 | @import "alert"; 34 | @import "progress"; 35 | @import "list-group"; 36 | @import "close"; 37 | @import "toasts"; 38 | @import "modal"; 39 | @import "tooltip"; 40 | @import "popover"; 41 | @import "carousel"; 42 | @import "spinners"; 43 | @import "offcanvas"; 44 | @import "placeholders"; 45 | 46 | // Helpers 47 | @import "helpers"; 48 | 49 | // Utilities 50 | @import "utilities/api"; 51 | // scss-docs-end import-stack 52 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_visually-hidden.scss: -------------------------------------------------------------------------------- 1 | // stylelint-disable declaration-no-important 2 | 3 | // Hide content visually while keeping it accessible to assistive technologies 4 | // 5 | // See: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/ 6 | // See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/ 7 | 8 | @mixin visually-hidden() { 9 | position: absolute !important; 10 | width: 1px !important; 11 | height: 1px !important; 12 | padding: 0 !important; 13 | margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686 14 | overflow: hidden !important; 15 | clip: rect(0, 0, 0, 0) !important; 16 | white-space: nowrap !important; 17 | border: 0 !important; 18 | } 19 | 20 | // Use to only display content when it's focused, or one of its child elements is focused 21 | // (i.e. when focus is within the element/container that the class was applied to) 22 | // 23 | // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 24 | 25 | @mixin visually-hidden-focusable() { 26 | &:not(:focus):not(:focus-within) { 27 | @include visually-hidden(); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Alex Indigo 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2019 Federico Zivolo 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/combined-stream/License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Debuggable Limited 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/delayed-stream/License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011 Debuggable Limited 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import getWindow from './getWindow'; 3 | import getDocumentElement from './getDocumentElement'; 4 | import getWindowScrollBarX from './getWindowScrollBarX'; 5 | import isLayoutViewport from './isLayoutViewport'; 6 | import type { PositioningStrategy } from '../types'; 7 | 8 | export default function getViewportRect( 9 | element: Element, 10 | strategy: PositioningStrategy 11 | ) { 12 | const win = getWindow(element); 13 | const html = getDocumentElement(element); 14 | const visualViewport = win.visualViewport; 15 | 16 | let width = html.clientWidth; 17 | let height = html.clientHeight; 18 | let x = 0; 19 | let y = 0; 20 | 21 | if (visualViewport) { 22 | width = visualViewport.width; 23 | height = visualViewport.height; 24 | 25 | const layoutViewport = isLayoutViewport(); 26 | 27 | if (layoutViewport || (!layoutViewport && strategy === 'fixed')) { 28 | x = visualViewport.offsetLeft; 29 | y = visualViewport.offsetTop; 30 | } 31 | } 32 | 33 | return { 34 | width, 35 | height, 36 | x: x + getWindowScrollBarX(element), 37 | y, 38 | }; 39 | } 40 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/proxy-from-env/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (C) 2016-2018 Rob Wu 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 9 | of the Software, and to permit persons to whom the Software is furnished to do 10 | so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /l8-date.php: -------------------------------------------------------------------------------- 1 | "; 4 | echo date("d/M/Y h:i:s A l")."
"; 5 | echo date("d/F/Y H:i:s A l")."
"; 6 | 7 | // mktime 8 | // hour minute second month day year 9 | 10 | $myTime = mktime(0, 0, 0, 9, 10, 2030); 11 | echo date("d/F/Y H:i:s A l", $myTime)."
"; 12 | 13 | //strtotime 14 | $agamiShukrobar = strtotime("Next Friday"); 15 | echo date("d/F/Y H:i:s A l", $agamiShukrobar)."
"; 16 | 17 | $Lamsam = strtotime("+5 years +4 months +3 weeks +2 days 1 hours"); 18 | echo date("d/F/Y H:i:s A l", $Lamsam)."
"; 19 | 20 | $startDate = strtotime("next friday"); 21 | $endTime = strtotime("+6 weeks", $startDate); 22 | 23 | /* while ($startDate <= $endTime) { 24 | echo date("d/F/Y l", $startDate)."
"; 25 | $startDate = strtotime("+1 week", $startDate); 26 | } */ 27 | 28 | 29 | /* 30 | $nf = strtotime("next friday"); 31 | $et = strtotime("+6 weeks", $nf); 32 | for ($i = $nf; $i <= $et;) { 33 | echo date("d/F/Y l", $i)."
"; 34 | $i = strtotime("+1 week", $i); 35 | } 36 | */ 37 | 38 | ?> -------------------------------------------------------------------------------- /l9- HTML with PHP/index.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Document 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 |
20 | 23 |
24 | 25 |
26 | 29 |
30 | 31 |
32 |
33 | 34 | 35 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper.js: -------------------------------------------------------------------------------- 1 | import { popperGenerator, detectOverflow } from "./createPopper.js"; 2 | import eventListeners from "./modifiers/eventListeners.js"; 3 | import popperOffsets from "./modifiers/popperOffsets.js"; 4 | import computeStyles from "./modifiers/computeStyles.js"; 5 | import applyStyles from "./modifiers/applyStyles.js"; 6 | import offset from "./modifiers/offset.js"; 7 | import flip from "./modifiers/flip.js"; 8 | import preventOverflow from "./modifiers/preventOverflow.js"; 9 | import arrow from "./modifiers/arrow.js"; 10 | import hide from "./modifiers/hide.js"; 11 | var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide]; 12 | var createPopper = /*#__PURE__*/popperGenerator({ 13 | defaultModifiers: defaultModifiers 14 | }); // eslint-disable-next-line import/no-unused-modules 15 | 16 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules 17 | 18 | export { createPopper as createPopperLite } from "./popper-lite.js"; // eslint-disable-next-line import/no-unused-modules 19 | 20 | export * from "./modifiers/index.js"; -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/popper.js: -------------------------------------------------------------------------------- 1 | import { popperGenerator, detectOverflow } from "./createPopper.js"; 2 | import eventListeners from "./modifiers/eventListeners.js"; 3 | import popperOffsets from "./modifiers/popperOffsets.js"; 4 | import computeStyles from "./modifiers/computeStyles.js"; 5 | import applyStyles from "./modifiers/applyStyles.js"; 6 | import offset from "./modifiers/offset.js"; 7 | import flip from "./modifiers/flip.js"; 8 | import preventOverflow from "./modifiers/preventOverflow.js"; 9 | import arrow from "./modifiers/arrow.js"; 10 | import hide from "./modifiers/hide.js"; 11 | var defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide]; 12 | var createPopper = /*#__PURE__*/popperGenerator({ 13 | defaultModifiers: defaultModifiers 14 | }); // eslint-disable-next-line import/no-unused-modules 15 | 16 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules 17 | 18 | export { createPopper as createPopperLite } from "./popper-lite.js"; // eslint-disable-next-line import/no-unused-modules 19 | 20 | export * from "./modifiers/index.js"; -------------------------------------------------------------------------------- /l11-formValidation/node_modules/form-data/License: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/follow-redirects/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014–present Olivier Lalonde , James Talmage , Ruben Verborgh 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of 4 | this software and associated documentation files (the "Software"), to deal in 5 | the Software without restriction, including without limitation the rights to 6 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 7 | of the Software, and to permit persons to whom the Software is furnished to do 8 | so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 17 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 18 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/asynckit/parallel.js: -------------------------------------------------------------------------------- 1 | var iterate = require('./lib/iterate.js') 2 | , initState = require('./lib/state.js') 3 | , terminator = require('./lib/terminator.js') 4 | ; 5 | 6 | // Public API 7 | module.exports = parallel; 8 | 9 | /** 10 | * Runs iterator over provided array elements in parallel 11 | * 12 | * @param {array|object} list - array or object (named list) to iterate over 13 | * @param {function} iterator - iterator to run 14 | * @param {function} callback - invoked when all elements processed 15 | * @returns {function} - jobs terminator 16 | */ 17 | function parallel(list, iterator, callback) 18 | { 19 | var state = initState(list); 20 | 21 | while (state.index < (state['keyedList'] || list).length) 22 | { 23 | iterate(list, iterator, state, function(error, result) 24 | { 25 | if (error) 26 | { 27 | callback(error, result); 28 | return; 29 | } 30 | 31 | // looks like it's the last one 32 | if (Object.keys(state.jobs).length === 0) 33 | { 34 | callback(null, state.results); 35 | return; 36 | } 37 | }); 38 | 39 | state.index++; 40 | } 41 | 42 | return terminator.bind(state, callback); 43 | } 44 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2011-2022 Twitter, Inc. 4 | Copyright (c) 2011-2022 The Bootstrap Authors 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/.package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bootstrapPHP", 3 | "lockfileVersion": 2, 4 | "requires": true, 5 | "packages": { 6 | "node_modules/@popperjs/core": { 7 | "version": "2.11.6", 8 | "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", 9 | "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==", 10 | "peer": true, 11 | "funding": { 12 | "type": "opencollective", 13 | "url": "https://opencollective.com/popperjs" 14 | } 15 | }, 16 | "node_modules/bootstrap": { 17 | "version": "5.2.3", 18 | "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.2.3.tgz", 19 | "integrity": "sha512-cEKPM+fwb3cT8NzQZYEu4HilJ3anCrWqh3CHAok1p9jXqMPsPTBhU25fBckEJHJ/p+tTxTFTsFQGM+gaHpi3QQ==", 20 | "funding": [ 21 | { 22 | "type": "github", 23 | "url": "https://github.com/sponsors/twbs" 24 | }, 25 | { 26 | "type": "opencollective", 27 | "url": "https://opencollective.com/bootstrap" 28 | } 29 | ], 30 | "peerDependencies": { 31 | "@popperjs/core": "^2.11.6" 32 | } 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/mixins/_table-variants.scss: -------------------------------------------------------------------------------- 1 | // scss-docs-start table-variant 2 | @mixin table-variant($state, $background) { 3 | .table-#{$state} { 4 | $color: color-contrast(opaque($body-bg, $background)); 5 | $hover-bg: mix($color, $background, percentage($table-hover-bg-factor)); 6 | $striped-bg: mix($color, $background, percentage($table-striped-bg-factor)); 7 | $active-bg: mix($color, $background, percentage($table-active-bg-factor)); 8 | $table-border-color: mix($color, $background, percentage($table-border-factor)); 9 | 10 | --#{$prefix}table-color: #{$color}; 11 | --#{$prefix}table-bg: #{$background}; 12 | --#{$prefix}table-border-color: #{$table-border-color}; 13 | --#{$prefix}table-striped-bg: #{$striped-bg}; 14 | --#{$prefix}table-striped-color: #{color-contrast($striped-bg)}; 15 | --#{$prefix}table-active-bg: #{$active-bg}; 16 | --#{$prefix}table-active-color: #{color-contrast($active-bg)}; 17 | --#{$prefix}table-hover-bg: #{$hover-bg}; 18 | --#{$prefix}table-hover-color: #{color-contrast($hover-bg)}; 19 | 20 | color: var(--#{$prefix}table-color); 21 | border-color: var(--#{$prefix}table-border-color); 22 | } 23 | } 24 | // scss-docs-end table-variant 25 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/js/src/util/component-functions.js: -------------------------------------------------------------------------------- 1 | /** 2 | * -------------------------------------------------------------------------- 3 | * Bootstrap (v5.2.3): util/component-functions.js 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 5 | * -------------------------------------------------------------------------- 6 | */ 7 | 8 | import EventHandler from '../dom/event-handler' 9 | import { getElementFromSelector, isDisabled } from './index' 10 | 11 | const enableDismissTrigger = (component, method = 'hide') => { 12 | const clickEvent = `click.dismiss${component.EVENT_KEY}` 13 | const name = component.NAME 14 | 15 | EventHandler.on(document, clickEvent, `[data-bs-dismiss="${name}"]`, function (event) { 16 | if (['A', 'AREA'].includes(this.tagName)) { 17 | event.preventDefault() 18 | } 19 | 20 | if (isDisabled(this)) { 21 | return 22 | } 23 | 24 | const target = getElementFromSelector(this) || this.closest(`.${name}`) 25 | const instance = component.getOrCreateInstance(target) 26 | 27 | // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method 28 | instance[method]() 29 | }) 30 | } 31 | 32 | export { 33 | enableDismissTrigger 34 | } 35 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/popper.js.flow: -------------------------------------------------------------------------------- 1 | // @flow 2 | import { popperGenerator, detectOverflow } from './createPopper'; 3 | 4 | import eventListeners from './modifiers/eventListeners'; 5 | import popperOffsets from './modifiers/popperOffsets'; 6 | import computeStyles from './modifiers/computeStyles'; 7 | import applyStyles from './modifiers/applyStyles'; 8 | import offset from './modifiers/offset'; 9 | import flip from './modifiers/flip'; 10 | import preventOverflow from './modifiers/preventOverflow'; 11 | import arrow from './modifiers/arrow'; 12 | import hide from './modifiers/hide'; 13 | 14 | export type * from './types'; 15 | 16 | const defaultModifiers = [ 17 | eventListeners, 18 | popperOffsets, 19 | computeStyles, 20 | applyStyles, 21 | offset, 22 | flip, 23 | preventOverflow, 24 | arrow, 25 | hide, 26 | ]; 27 | 28 | const createPopper = popperGenerator({ defaultModifiers }); 29 | 30 | // eslint-disable-next-line import/no-unused-modules 31 | export { createPopper, popperGenerator, defaultModifiers, detectOverflow }; 32 | // eslint-disable-next-line import/no-unused-modules 33 | export { createPopper as createPopperLite } from './popper-lite'; 34 | // eslint-disable-next-line import/no-unused-modules 35 | export * from './modifiers'; 36 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/mime-types/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Jonathan Ong 4 | Copyright (c) 2015 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/mime-db/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2014 Jonathan Ong 4 | Copyright (c) 2015-2022 Douglas Christopher Wilson 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining 7 | a copy of this software and associated documentation files (the 8 | 'Software'), to deal in the Software without restriction, including 9 | without limitation the rights to use, copy, modify, merge, publish, 10 | distribute, sublicense, and/or sell copies of the Software, and to 11 | permit persons to whom the Software is furnished to do so, subject to 12 | the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be 15 | included in all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 24 | -------------------------------------------------------------------------------- /l3-condition.php: -------------------------------------------------------------------------------- 1 | "; 24 | echo myFunc($palaSobahan)."
"; 25 | 26 | 27 | $age = 33; 28 | 29 | switch ($age) { 30 | case ($age < 12): 31 | echo "You are a baby"; 32 | break; 33 | 34 | case ($age < 19): 35 | echo "You are a teeanger"; 36 | break; 37 | 38 | case ($age < 30): 39 | echo "You are a young person"; 40 | break; 41 | 42 | case ($age < 50): 43 | echo "You are a middle aged person"; 44 | break; 45 | 46 | default: 47 | echo "You are a old person"; 48 | break; 49 | } 50 | ?> -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_badge.scss: -------------------------------------------------------------------------------- 1 | // Base class 2 | // 3 | // Requires one of the contextual, color modifier classes for `color` and 4 | // `background-color`. 5 | 6 | .badge { 7 | // scss-docs-start badge-css-vars 8 | --#{$prefix}badge-padding-x: #{$badge-padding-x}; 9 | --#{$prefix}badge-padding-y: #{$badge-padding-y}; 10 | @include rfs($badge-font-size, --#{$prefix}badge-font-size); 11 | --#{$prefix}badge-font-weight: #{$badge-font-weight}; 12 | --#{$prefix}badge-color: #{$badge-color}; 13 | --#{$prefix}badge-border-radius: #{$badge-border-radius}; 14 | // scss-docs-end badge-css-vars 15 | 16 | display: inline-block; 17 | padding: var(--#{$prefix}badge-padding-y) var(--#{$prefix}badge-padding-x); 18 | @include font-size(var(--#{$prefix}badge-font-size)); 19 | font-weight: var(--#{$prefix}badge-font-weight); 20 | line-height: 1; 21 | color: var(--#{$prefix}badge-color); 22 | text-align: center; 23 | white-space: nowrap; 24 | vertical-align: baseline; 25 | @include border-radius(var(--#{$prefix}badge-border-radius)); 26 | @include gradient-bg(); 27 | 28 | // Empty badges collapse automatically 29 | &:empty { 30 | display: none; 31 | } 32 | } 33 | 34 | // Quick fix for badges in buttons 35 | .btn .badge { 36 | position: relative; 37 | top: -1px; 38 | } 39 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js: -------------------------------------------------------------------------------- 1 | import getScrollParent from "./getScrollParent.js"; 2 | import getParentNode from "./getParentNode.js"; 3 | import getWindow from "./getWindow.js"; 4 | import isScrollParent from "./isScrollParent.js"; 5 | /* 6 | given a DOM element, return the list of all scroll parents, up the list of ancesors 7 | until we get to the top window object. This list is what we attach scroll listeners 8 | to, because if any of these parent elements scroll, we'll need to re-calculate the 9 | reference element's position. 10 | */ 11 | 12 | export default function listScrollParents(element, list) { 13 | var _element$ownerDocumen; 14 | 15 | if (list === void 0) { 16 | list = []; 17 | } 18 | 19 | var scrollParent = getScrollParent(element); 20 | var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); 21 | var win = getWindow(scrollParent); 22 | var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent; 23 | var updatedList = list.concat(target); 24 | return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here 25 | updatedList.concat(listScrollParents(getParentNode(target))); 26 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/dist/esm/dom-utils/listScrollParents.js: -------------------------------------------------------------------------------- 1 | import getScrollParent from "./getScrollParent.js"; 2 | import getParentNode from "./getParentNode.js"; 3 | import getWindow from "./getWindow.js"; 4 | import isScrollParent from "./isScrollParent.js"; 5 | /* 6 | given a DOM element, return the list of all scroll parents, up the list of ancesors 7 | until we get to the top window object. This list is what we attach scroll listeners 8 | to, because if any of these parent elements scroll, we'll need to re-calculate the 9 | reference element's position. 10 | */ 11 | 12 | export default function listScrollParents(element, list) { 13 | var _element$ownerDocumen; 14 | 15 | if (list === void 0) { 16 | list = []; 17 | } 18 | 19 | var scrollParent = getScrollParent(element); 20 | var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body); 21 | var win = getWindow(scrollParent); 22 | var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent; 23 | var updatedList = list.concat(target); 24 | return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here 25 | updatedList.concat(listScrollParents(getParentNode(target))); 26 | } -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_close.scss: -------------------------------------------------------------------------------- 1 | // Transparent background and border properties included for button version. 2 | // iOS requires the button element instead of an anchor tag. 3 | // If you want the anchor version, it requires `href="#"`. 4 | // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile 5 | 6 | .btn-close { 7 | box-sizing: content-box; 8 | width: $btn-close-width; 9 | height: $btn-close-height; 10 | padding: $btn-close-padding-y $btn-close-padding-x; 11 | color: $btn-close-color; 12 | background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements 13 | border: 0; // for button elements 14 | @include border-radius(); 15 | opacity: $btn-close-opacity; 16 | 17 | // Override 's hover style 18 | &:hover { 19 | color: $btn-close-color; 20 | text-decoration: none; 21 | opacity: $btn-close-hover-opacity; 22 | } 23 | 24 | &:focus { 25 | outline: 0; 26 | box-shadow: $btn-close-focus-shadow; 27 | opacity: $btn-close-focus-opacity; 28 | } 29 | 30 | &:disabled, 31 | &.disabled { 32 | pointer-events: none; 33 | user-select: none; 34 | opacity: $btn-close-disabled-opacity; 35 | } 36 | } 37 | 38 | .btn-close-white { 39 | filter: $btn-close-white-filter; 40 | } 41 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/forms/_labels.scss: -------------------------------------------------------------------------------- 1 | // 2 | // Labels 3 | // 4 | 5 | .form-label { 6 | margin-bottom: $form-label-margin-bottom; 7 | @include font-size($form-label-font-size); 8 | font-style: $form-label-font-style; 9 | font-weight: $form-label-font-weight; 10 | color: $form-label-color; 11 | } 12 | 13 | // For use with horizontal and inline forms, when you need the label (or legend) 14 | // text to align with the form controls. 15 | .col-form-label { 16 | padding-top: add($input-padding-y, $input-border-width); 17 | padding-bottom: add($input-padding-y, $input-border-width); 18 | margin-bottom: 0; // Override the `` default 19 | @include font-size(inherit); // Override the `` default 20 | font-style: $form-label-font-style; 21 | font-weight: $form-label-font-weight; 22 | line-height: $input-line-height; 23 | color: $form-label-color; 24 | } 25 | 26 | .col-form-label-lg { 27 | padding-top: add($input-padding-y-lg, $input-border-width); 28 | padding-bottom: add($input-padding-y-lg, $input-border-width); 29 | @include font-size($input-font-size-lg); 30 | } 31 | 32 | .col-form-label-sm { 33 | padding-top: add($input-padding-y-sm, $input-border-width); 34 | padding-bottom: add($input-padding-y-sm, $input-border-width); 35 | @include font-size($input-font-size-sm); 36 | } 37 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/bootstrap/scss/_images.scss: -------------------------------------------------------------------------------- 1 | // Responsive images (ensure images don't scale beyond their parents) 2 | // 3 | // This is purposefully opt-in via an explicit class rather than being the default for all ``s. 4 | // We previously tried the "images are responsive by default" approach in Bootstrap v2, 5 | // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps) 6 | // which weren't expecting the images within themselves to be involuntarily resized. 7 | // See also https://github.com/twbs/bootstrap/issues/18178 8 | .img-fluid { 9 | @include img-fluid(); 10 | } 11 | 12 | 13 | // Image thumbnails 14 | .img-thumbnail { 15 | padding: $thumbnail-padding; 16 | background-color: $thumbnail-bg; 17 | border: $thumbnail-border-width solid $thumbnail-border-color; 18 | @include border-radius($thumbnail-border-radius); 19 | @include box-shadow($thumbnail-box-shadow); 20 | 21 | // Keep them at most 100% wide 22 | @include img-fluid(); 23 | } 24 | 25 | // 26 | // Figures 27 | // 28 | 29 | .figure { 30 | // Ensures the caption's text aligns with the image. 31 | display: inline-block; 32 | } 33 | 34 | .figure-img { 35 | margin-bottom: $spacer * .5; 36 | line-height: 1; 37 | } 38 | 39 | .figure-caption { 40 | @include font-size($figure-caption-font-size); 41 | color: $figure-caption-color; 42 | } 43 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/mime-types/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mime-types", 3 | "description": "The ultimate javascript content-type utility.", 4 | "version": "2.1.35", 5 | "contributors": [ 6 | "Douglas Christopher Wilson ", 7 | "Jeremiah Senkpiel (https://searchbeam.jit.su)", 8 | "Jonathan Ong (http://jongleberry.com)" 9 | ], 10 | "license": "MIT", 11 | "keywords": [ 12 | "mime", 13 | "types" 14 | ], 15 | "repository": "jshttp/mime-types", 16 | "dependencies": { 17 | "mime-db": "1.52.0" 18 | }, 19 | "devDependencies": { 20 | "eslint": "7.32.0", 21 | "eslint-config-standard": "14.1.1", 22 | "eslint-plugin-import": "2.25.4", 23 | "eslint-plugin-markdown": "2.2.1", 24 | "eslint-plugin-node": "11.1.0", 25 | "eslint-plugin-promise": "5.2.0", 26 | "eslint-plugin-standard": "4.1.0", 27 | "mocha": "9.2.2", 28 | "nyc": "15.1.0" 29 | }, 30 | "files": [ 31 | "HISTORY.md", 32 | "LICENSE", 33 | "index.js" 34 | ], 35 | "engines": { 36 | "node": ">= 0.6" 37 | }, 38 | "scripts": { 39 | "lint": "eslint .", 40 | "test": "mocha --reporter spec test/test.js", 41 | "test-ci": "nyc --reporter=lcov --reporter=text npm test", 42 | "test-cov": "nyc --reporter=html --reporter=text npm test" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /l11-formValidation/node_modules/axios/lib/helpers/speedometer.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Calculate data maxRate 5 | * @param {Number} [samplesCount= 10] 6 | * @param {Number} [min= 1000] 7 | * @returns {Function} 8 | */ 9 | function speedometer(samplesCount, min) { 10 | samplesCount = samplesCount || 10; 11 | const bytes = new Array(samplesCount); 12 | const timestamps = new Array(samplesCount); 13 | let head = 0; 14 | let tail = 0; 15 | let firstSampleTS; 16 | 17 | min = min !== undefined ? min : 1000; 18 | 19 | return function push(chunkLength) { 20 | const now = Date.now(); 21 | 22 | const startedAt = timestamps[tail]; 23 | 24 | if (!firstSampleTS) { 25 | firstSampleTS = now; 26 | } 27 | 28 | bytes[head] = chunkLength; 29 | timestamps[head] = now; 30 | 31 | let i = tail; 32 | let bytesCount = 0; 33 | 34 | while (i !== head) { 35 | bytesCount += bytes[i++]; 36 | i = i % samplesCount; 37 | } 38 | 39 | head = (head + 1) % samplesCount; 40 | 41 | if (head === tail) { 42 | tail = (tail + 1) % samplesCount; 43 | } 44 | 45 | if (now - firstSampleTS < min) { 46 | return; 47 | } 48 | 49 | const passed = startedAt && now - startedAt; 50 | 51 | return passed ? Math.round(bytesCount * 1000 / passed) : undefined; 52 | }; 53 | } 54 | 55 | export default speedometer; 56 | -------------------------------------------------------------------------------- /l10-bootstrapPHP/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js: -------------------------------------------------------------------------------- 1 | import getDocumentElement from "./getDocumentElement.js"; 2 | import getComputedStyle from "./getComputedStyle.js"; 3 | import getWindowScrollBarX from "./getWindowScrollBarX.js"; 4 | import getWindowScroll from "./getWindowScroll.js"; 5 | import { max } from "../utils/math.js"; // Gets the entire size of the scrollable document area, even extending outside 6 | // of the `` and `` rect bounds if horizontally scrollable 7 | 8 | export default function getDocumentRect(element) { 9 | var _element$ownerDocumen; 10 | 11 | var html = getDocumentElement(element); 12 | var winScroll = getWindowScroll(element); 13 | var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body; 14 | var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0); 15 | var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0); 16 | var x = -winScroll.scrollLeft + getWindowScrollBarX(element); 17 | var y = -winScroll.scrollTop; 18 | 19 | if (getComputedStyle(body || html).direction === 'rtl') { 20 | x += max(html.clientWidth, body ? body.clientWidth : 0) - width; 21 | } 22 | 23 | return { 24 | width: width, 25 | height: height, 26 | x: x, 27 | y: y 28 | }; 29 | } --------------------------------------------------------------------------------